Lines Matching refs:OneShotFlags
56 struct OneShotFlags(u8); struct
59 impl OneShotFlags: u8 { impl
69 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 { implementation
105 oneshot_flag: OneShotFlags,
152 oneshot_flag: OneShotFlags::NONE, in default()
268 let oneshot_flag = OneShotFlags::from(Some(oneshot)); in set_oneshot_status()
269 if oneshot_flag == OneShotFlags::NONE { in set_oneshot_status()
282 self.get_mut_data().oneshot_flag = OneShotFlags::NONE; in clear_oneshot_status()