Enum deno_kv::Consistency
source · pub enum Consistency {
Strong,
Eventual,
}
Expand description
The consistency of a read.
Variants§
Trait Implementations§
source§impl Clone for Consistency
impl Clone for Consistency
source§fn clone(&self) -> Consistency
fn clone(&self) -> Consistency
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 Consistency
impl Debug for Consistency
source§impl PartialEq<Consistency> for Consistency
impl PartialEq<Consistency> for Consistency
source§fn eq(&self, other: &Consistency) -> bool
fn eq(&self, other: &Consistency) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Consistency
impl Eq for Consistency
impl StructuralEq for Consistency
impl StructuralPartialEq for Consistency
Auto Trait Implementations§
impl RefUnwindSafe for Consistency
impl Send for Consistency
impl Sync for Consistency
impl Unpin 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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.