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