Home
last modified time | relevance | path

Searched refs:OneShotFlags (Results 1 – 1 of 1) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/slots/
Dfuchsia.rs56 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()
[all …]