Home
last modified time | relevance | path

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

/bootable/libbootloader/gbl/libabr/src/
Dlib.rs51 pub trait Ops { trait
396 fn save_metadata(abr_ops: &mut dyn Ops, abr_data: &mut AbrData) -> AbrResult<()> { in save_metadata()
404 abr_ops: &mut dyn Ops, in save_metadata_if_changed()
418 pub fn get_boot_slot(abr_ops: &mut dyn Ops, update_metadata: bool) -> (SlotIndex, bool) { in get_boot_slot()
488 pub fn mark_slot_active(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> AbrResult<()> { in mark_slot_active()
526 pub fn mark_slot_unbootable(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> AbrResult<()> { in mark_slot_unbootable()
540 pub fn mark_slot_successful(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> AbrResult<()> { in mark_slot_successful()
574 pub fn get_slot_info(abr_ops: &mut dyn Ops, slot_index: SlotIndex) -> AbrResult<SlotInfo> { in get_slot_info()
598 pub fn set_one_shot_recovery(abr_ops: &mut dyn Ops, enable: bool) -> AbrResult<()> { in set_one_shot_recovery()
608 pub fn set_one_shot_bootloader(abr_ops: &mut dyn Ops, enable: bool) -> AbrResult<()> { in set_one_shot_bootloader()