Searched refs:SlotIndex (Results 1 – 2 of 2) sorted by relevance
/bootable/libbootloader/gbl/libabr/src/ |
D | lib.rs | 76 pub enum SlotIndex { enum 82 impl SlotIndex { implementation 86 SlotIndex::A => SlotIndex::B, in other() 87 SlotIndex::B => SlotIndex::A, in other() 94 impl From<SlotIndex> for c_uint { 95 fn from(_val: SlotIndex) -> Self { in from() 97 SlotIndex::A => 0, in from() 98 SlotIndex::B => 1, in from() 99 SlotIndex::R => 2, in from() 105 impl TryFrom<c_uint> for SlotIndex { implementation [all …]
|
D | c_staticlib.rs | 22 set_one_shot_recovery, AbrResult, Error, Ops, SlotIndex, SlotInfo as AbrSlotInfo, SlotState, 205 Ok(SlotIndex::A) => &SLOT_A_SUFFIX, in AbrGetSlotSuffix() 206 Ok(SlotIndex::B) => &SLOT_B_SUFFIX, in AbrGetSlotSuffix() 207 Ok(SlotIndex::R) => &SLOT_R_SUFFIX, in AbrGetSlotSuffix()
|