Searched refs:OneShotFlags (Results 1 – 1 of 1) sorted by relevance
56 struct OneShotFlags(u8); struct59 impl OneShotFlags: u8 { impl69 impl From<OneShotFlags> for Option<OneShot> {70 fn from(flags: OneShotFlags) -> Self { in from()72 OneShotFlags::RECOVERY => Some(OneShot::Continue(RecoveryTarget::Dedicated)), in from()73 OneShotFlags::BOOTLOADER => Some(OneShot::Bootloader), in from()79 impl From<Option<OneShot>> for OneShotFlags { implementation105 oneshot_flag: OneShotFlags,152 oneshot_flag: OneShotFlags::NONE, in default()268 let oneshot_flag = OneShotFlags::from(Some(oneshot)); in set_oneshot_status()[all …]