pub enum VolumeStatus {
Ok,
Degraded,
Error,
Syncing,
Pending,
}
Variants§
Trait Implementations§
Source§impl Clone for VolumeStatus
impl Clone for VolumeStatus
Source§fn clone(&self) -> VolumeStatus
fn clone(&self) -> VolumeStatus
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 VolumeStatus
impl Debug for VolumeStatus
Source§impl<'de> Deserialize<'de> for VolumeStatus
impl<'de> Deserialize<'de> for VolumeStatus
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VolumeStatus
impl Display for VolumeStatus
Source§impl FromStr for VolumeStatus
impl FromStr for VolumeStatus
Source§impl Hash for VolumeStatus
impl Hash for VolumeStatus
Source§impl Ord for VolumeStatus
impl Ord for VolumeStatus
Source§fn cmp(&self, other: &VolumeStatus) -> Ordering
fn cmp(&self, other: &VolumeStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VolumeStatus
impl PartialEq for VolumeStatus
Source§impl PartialOrd for VolumeStatus
impl PartialOrd for VolumeStatus
Source§impl Serialize for VolumeStatuswhere
Self: Display,
impl Serialize for VolumeStatuswhere
Self: Display,
impl Copy for VolumeStatus
impl Eq for VolumeStatus
impl StructuralPartialEq for VolumeStatus
Auto Trait Implementations§
impl Freeze for VolumeStatus
impl RefUnwindSafe for VolumeStatus
impl Send for VolumeStatus
impl Sync for VolumeStatus
impl Unpin for VolumeStatus
impl UnwindSafe for VolumeStatus
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