Enum nfs4::ThresholdAttributeId
source · #[repr(u32)]pub enum ThresholdAttributeId {
ReadSize,
WriteSize,
ReadIoSize,
WriteIoSize,
}
Variants§
Trait Implementations§
source§impl Clone for ThresholdAttributeId
impl Clone for ThresholdAttributeId
source§fn clone(&self) -> ThresholdAttributeId
fn clone(&self) -> ThresholdAttributeId
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 ThresholdAttributeId
impl Debug for ThresholdAttributeId
source§impl<'de> Deserialize<'de> for ThresholdAttributeId
impl<'de> Deserialize<'de> for ThresholdAttributeId
source§fn deserialize<D>(deserializer: D) -> Result<ThresholdAttributeId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ThresholdAttributeId, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ThresholdAttributeId> for u32
impl From<ThresholdAttributeId> for u32
source§fn from(enum_value: ThresholdAttributeId) -> Self
fn from(enum_value: ThresholdAttributeId) -> Self
Converts to this type from the input type.
source§impl Ord for ThresholdAttributeId
impl Ord for ThresholdAttributeId
source§fn cmp(&self, other: &ThresholdAttributeId) -> Ordering
fn cmp(&self, other: &ThresholdAttributeId) -> 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<ThresholdAttributeId> for ThresholdAttributeId
impl PartialEq<ThresholdAttributeId> for ThresholdAttributeId
source§fn eq(&self, other: &ThresholdAttributeId) -> bool
fn eq(&self, other: &ThresholdAttributeId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ThresholdAttributeId> for ThresholdAttributeId
impl PartialOrd<ThresholdAttributeId> for ThresholdAttributeId
source§fn partial_cmp(&self, other: &ThresholdAttributeId) -> Option<Ordering>
fn partial_cmp(&self, other: &ThresholdAttributeId) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ThresholdAttributeId
impl Serialize for ThresholdAttributeId
source§impl TryFrom<u32> for ThresholdAttributeId
impl TryFrom<u32> for ThresholdAttributeId
§type Error = TryFromPrimitiveError<ThresholdAttributeId>
type Error = TryFromPrimitiveError<ThresholdAttributeId>
The type returned in the event of a conversion error.
impl Copy for ThresholdAttributeId
impl Eq for ThresholdAttributeId
impl StructuralEq for ThresholdAttributeId
impl StructuralPartialEq for ThresholdAttributeId
Auto Trait Implementations§
impl RefUnwindSafe for ThresholdAttributeId
impl Send for ThresholdAttributeId
impl Sync for ThresholdAttributeId
impl Unpin for ThresholdAttributeId
impl UnwindSafe for ThresholdAttributeId
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