Enum nfs4::CreateType
source · #[repr(u32)]pub enum CreateType {
Directory,
Block,
Character(DeviceData),
Link(String),
Socket,
Fifo,
}
Variants§
Trait Implementations§
source§impl Clone for CreateType
impl Clone for CreateType
source§fn clone(&self) -> CreateType
fn clone(&self) -> CreateType
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 CreateType
impl Debug for CreateType
source§impl<'de> Deserialize<'de> for CreateType
impl<'de> Deserialize<'de> for CreateType
source§fn deserialize<D>(deserializer: D) -> Result<CreateType, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<CreateType, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<CreateType> for CreateType
impl PartialEq<CreateType> for CreateType
source§fn eq(&self, other: &CreateType) -> bool
fn eq(&self, other: &CreateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CreateType
impl Serialize for CreateType
impl Eq for CreateType
impl StructuralEq for CreateType
impl StructuralPartialEq for CreateType
Auto Trait Implementations§
impl RefUnwindSafe for CreateType
impl Send for CreateType
impl Sync for CreateType
impl Unpin for CreateType
impl UnwindSafe for CreateType
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