pub enum ZoneCondition {
NotWritePointer,
Empty,
ImplicitlyOpen,
ExplicitlyOpen,
Closed,
ReadOnly,
Full,
Offline,
}Expand description
Current condition (state) of a zone.
Variants§
NotWritePointer
Not a write-pointer zone (conventional).
Empty
Empty — no data written since last reset.
ImplicitlyOpen
Implicitly opened by a write operation.
ExplicitlyOpen
Explicitly opened by the host.
Closed
Closed — was open, now closed.
ReadOnly
Read-only — zone cannot be written.
Full
Full — zone has been completely written.
Offline
Offline — zone is not usable.
Trait Implementations§
Source§impl Clone for ZoneCondition
impl Clone for ZoneCondition
Source§fn clone(&self) -> ZoneCondition
fn clone(&self) -> ZoneCondition
Returns a duplicate 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 ZoneCondition
impl Debug for ZoneCondition
Source§impl Display for ZoneCondition
impl Display for ZoneCondition
Source§impl Hash for ZoneCondition
impl Hash for ZoneCondition
Source§impl PartialEq for ZoneCondition
impl PartialEq for ZoneCondition
impl Copy for ZoneCondition
impl Eq for ZoneCondition
impl StructuralPartialEq for ZoneCondition
Auto Trait Implementations§
impl Freeze for ZoneCondition
impl RefUnwindSafe for ZoneCondition
impl Send for ZoneCondition
impl Sync for ZoneCondition
impl Unpin for ZoneCondition
impl UnsafeUnpin for ZoneCondition
impl UnwindSafe for ZoneCondition
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