Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs270 .ok_or_else(|| Suffix::try_from(number).map_or(Error::Other, Error::NoSuchSlot))?; in get_slot_by_number()
307 .ok_or(Error::NoSuchSlot(slot_suffix))?; in set_slot_unbootable()
326 .ok_or(Error::NoSuchSlot(slot.suffix))?; in mark_boot_attempt()
335 .ok_or(Error::NoSuchSlot(target_slot.suffix))?; in mark_boot_attempt()
355 .ok_or(Error::NoSuchSlot(slot_suffix))?; in set_active_slot()
Dfuchsia.rs166 .ok_or_else(|| Suffix::try_from(number).map_or(Error::Other, Error::NoSuchSlot))?; in get_slot_by_number()
296 .ok_or(Error::NoSuchSlot(slot_suffix)) in get_index_and_slot_with_suffix()
510 assert_eq!(sb.set_active_slot(bad_suffix), Err(Error::NoSuchSlot(bad_suffix))); in test_set_active_slot_no_such_slot()
/bootable/libbootloader/gbl/libgbl/src/
Dslots.rs273 NoSuchSlot(Suffix), enumerator