pub enum ManagerTask {
DiscoverRegions(usize),
WriteHeader(ProcessId, AppRegion),
EraseRegion {
processid: ProcessId,
next_erase_start: usize,
remaining_bytes: usize,
},
}
Expand description
Operation referencing a particular region.
Variants§
DiscoverRegions(usize)
Read the contents of the header in the region. The usize
is the
address of the start of the header.
WriteHeader(ProcessId, AppRegion)
Write a valid header to the storage.
EraseRegion
Erase the contents of a region. This supports using multiple nonvolatile storage operations to complete the entire erase.
Trait Implementations§
Source§impl Clone for ManagerTask
impl Clone for ManagerTask
Source§fn clone(&self) -> ManagerTask
fn clone(&self) -> ManagerTask
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ManagerTask
impl Debug for ManagerTask
Source§impl PartialEq for ManagerTask
impl PartialEq for ManagerTask
impl Copy for ManagerTask
impl StructuralPartialEq for ManagerTask
Auto Trait Implementations§
impl Freeze for ManagerTask
impl !RefUnwindSafe for ManagerTask
impl !Send for ManagerTask
impl !Sync for ManagerTask
impl Unpin for ManagerTask
impl !UnwindSafe for ManagerTask
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more