pub enum Consistency {
Default,
Consistent,
Delegated,
Cached,
}Expand description
绑定挂载一致性选项
Variants§
Trait Implementations§
Source§impl Clone for Consistency
impl Clone for Consistency
Source§fn clone(&self) -> Consistency
fn clone(&self) -> Consistency
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 Consistency
impl Debug for Consistency
Source§impl<'de> Deserialize<'de> for Consistency
impl<'de> Deserialize<'de> for Consistency
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
Auto Trait Implementations§
impl Freeze for Consistency
impl RefUnwindSafe for Consistency
impl Send for Consistency
impl Sync for Consistency
impl Unpin for Consistency
impl UnsafeUnpin for Consistency
impl UnwindSafe for Consistency
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