Home
last modified time | relevance | path

Searched defs:Error (Results 1 – 8 of 8) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/
Derror.rs28 pub enum Error { enum
33 Error, enumerator
49 impl Display for Error { implementation
Dslots.rs85 type Error = Error; typedef
87 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from() argument
265 fn get_slot_by_number(&self, number: usize) -> Result<Slot, Error>; in get_slot_by_number() argument
271 pub enum Error { enum
356 fn mark_boot_attempt(&mut self) -> Result<BootToken, Error>; in mark_boot_attempt() argument
363 fn set_active_slot(&mut self, slot_suffix: Suffix) -> Result<(), Error>; in set_active_slot() argument
370 ) -> Result<(), Error>; in set_slot_unbootable() argument
394 fn set_oneshot_status(&mut self, _: OneShot) -> Result<(), Error> { in set_oneshot_status() argument
/bootable/libbootloader/gbl/libgbl/src/slots/
Dfuchsia.rs162 fn get_slot_by_number(&self, number: usize) -> Result<Slot, Error> { in get_slot_by_number() argument
194 ) -> Result<(), Error> { in set_slot_unbootable() argument
209 fn mark_boot_attempt(&mut self) -> Result<BootToken, Error> { in mark_boot_attempt() argument
245 fn set_active_slot(&mut self, slot_suffix: Suffix) -> Result<(), Error> { in set_active_slot() argument
263 fn set_oneshot_status(&mut self, oneshot: OneShot) -> Result<(), Error> { in set_oneshot_status() argument
292 fn get_index_and_slot_with_suffix(&self, slot_suffix: Suffix) -> Result<(usize, Slot), Error> { in get_index_and_slot_with_suffix() argument
Dandroid.rs263 fn get_slot_by_number(&self, number: usize) -> Result<Slot, Error> { in get_slot_by_number() argument
302 ) -> Result<(), Error> { in set_slot_unbootable() argument
319 fn mark_boot_attempt(&mut self) -> Result<BootToken, Error> { in mark_boot_attempt() argument
351 fn set_active_slot(&mut self, slot_suffix: Suffix) -> Result<(), Error> { in set_active_slot() argument
374 fn set_oneshot_status(&mut self, _: OneShot) -> Result<(), Error> { in set_oneshot_status() argument
/bootable/libbootloader/gbl/libabr/src/
Dlib.rs36 pub enum Error { enum
44 impl From<Option<&'static str>> for Error { implementation
106 type Error = Error; typedef
108 fn try_from(val: c_uint) -> core::result::Result<SlotIndex, Self::Error> { in try_from()
/bootable/libbootloader/gbl/libsafemath/src/
Dlib.rs148 pub type Error = &'static Location<'static>; typedef
/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs946 type Error = ZbiError; typedef
947 fn try_from(val: u32) -> Result<Self, Self::Error> { in try_from() argument
1135 Error, enumerator
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs88 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { in fmt() argument
187 fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error> { in fmt() argument