pub enum LockGranularity {
ByteRange,
Full,
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for LockGranularity
impl Clone for LockGranularity
Source§fn clone(&self) -> LockGranularity
fn clone(&self) -> LockGranularity
Returns a duplicate 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 LockGranularity
impl Debug for LockGranularity
Source§impl Default for LockGranularity
impl Default for LockGranularity
Source§fn default() -> LockGranularity
fn default() -> LockGranularity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LockGranularity
impl<'de> Deserialize<'de> for LockGranularity
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
Source§impl Display for LockGranularity
impl Display for LockGranularity
Source§impl Hash for LockGranularity
impl Hash for LockGranularity
Source§impl Ord for LockGranularity
impl Ord for LockGranularity
Source§fn cmp(&self, other: &LockGranularity) -> Ordering
fn cmp(&self, other: &LockGranularity) -> 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 for LockGranularity
impl PartialEq for LockGranularity
Source§impl PartialOrd for LockGranularity
impl PartialOrd for LockGranularity
Source§impl Serialize for LockGranularity
impl Serialize for LockGranularity
impl Copy for LockGranularity
impl Eq for LockGranularity
impl StructuralPartialEq for LockGranularity
Auto Trait Implementations§
impl Freeze for LockGranularity
impl RefUnwindSafe for LockGranularity
impl Send for LockGranularity
impl Sync for LockGranularity
impl Unpin for LockGranularity
impl UnsafeUnpin for LockGranularity
impl UnwindSafe for LockGranularity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.