pub enum ThinStatus {
Working(Box<ThinDevWorkingStatus>),
Error,
Fail,
}Expand description
Thin device status.
Variants§
Working(Box<ThinDevWorkingStatus>)
Thin device is good. Includes number of mapped sectors, and highest mapped sector.
Error
Devicemapper has reported that it could not obtain the status
Fail
Thin device is failed.
Trait Implementations§
Source§impl Clone for ThinStatus
impl Clone for ThinStatus
Source§fn clone(&self) -> ThinStatus
fn clone(&self) -> ThinStatus
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 ThinStatus
impl Debug for ThinStatus
Auto Trait Implementations§
impl Freeze for ThinStatus
impl RefUnwindSafe for ThinStatus
impl Send for ThinStatus
impl Sync for ThinStatus
impl Unpin for ThinStatus
impl UnwindSafe for ThinStatus
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