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