pub enum SectorState {
Erased,
Active,
Sealed,
}Expand description
State of a sector in the ring buffer.
Variants§
Erased
Sector is erased (all 0xFF).
Active
Sector is the current write target.
Sealed
Sector is full and sealed (read-only).
Trait Implementations§
Source§impl Clone for SectorState
impl Clone for SectorState
impl Copy for SectorState
Source§impl Debug for SectorState
impl Debug for SectorState
Source§impl Default for SectorState
impl Default for SectorState
impl Eq for SectorState
Source§impl Format for SectorState
Available on crate feature defmt only.
impl Format for SectorState
Available on crate feature
defmt only.Source§impl PartialEq for SectorState
impl PartialEq for SectorState
impl StructuralPartialEq for SectorState
Auto Trait Implementations§
impl Freeze for SectorState
impl RefUnwindSafe for SectorState
impl Send for SectorState
impl Sync for SectorState
impl Unpin for SectorState
impl UnsafeUnpin for SectorState
impl UnwindSafe for SectorState
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