pub enum LeaseAccess {
ReadOnly,
ExclusiveWrite,
}Variants§
Trait Implementations§
Source§impl Clone for LeaseAccess
impl Clone for LeaseAccess
Source§fn clone(&self) -> LeaseAccess
fn clone(&self) -> LeaseAccess
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LeaseAccess
Source§impl Debug for LeaseAccess
impl Debug for LeaseAccess
Source§impl<'de> Deserialize<'de> for LeaseAccess
impl<'de> Deserialize<'de> for LeaseAccess
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeaseAccess
Source§impl Ord for LeaseAccess
impl Ord for LeaseAccess
Source§fn cmp(&self, other: &LeaseAccess) -> Ordering
fn cmp(&self, other: &LeaseAccess) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LeaseAccess
impl PartialEq for LeaseAccess
Source§impl PartialOrd for LeaseAccess
impl PartialOrd for LeaseAccess
Source§impl Serialize for LeaseAccess
impl Serialize for LeaseAccess
impl StructuralPartialEq for LeaseAccess
Auto Trait Implementations§
impl Freeze for LeaseAccess
impl RefUnwindSafe for LeaseAccess
impl Send for LeaseAccess
impl Sync for LeaseAccess
impl Unpin for LeaseAccess
impl UnsafeUnpin for LeaseAccess
impl UnwindSafe for LeaseAccess
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