Enum k2v_client::K2vValue
source · pub enum K2vValue {
Tombstone,
Value(Vec<u8>),
}
Expand description
A value in K2V. can be either a binary value, or a tombstone.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for K2vValue
impl<'de> Deserialize<'de> for K2vValue
source§fn deserialize<D>(d: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<K2vValue> for K2vValue
impl PartialEq<K2vValue> for K2vValue
impl Eq for K2vValue
impl StructuralEq for K2vValue
impl StructuralPartialEq for K2vValue
Auto Trait Implementations§
impl RefUnwindSafe for K2vValue
impl Send for K2vValue
impl Sync for K2vValue
impl Unpin for K2vValue
impl UnwindSafe for K2vValue
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.