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