#[repr(u32)]pub enum PredsyncValueKind {
Scalar = 0,
Str = 1,
List = 2,
}Expand description
Which representation a PredsyncValue carries.
Variants§
Scalar = 0
An eight-byte scalar in scalar.
Str = 1
UTF-8 bytes at ptr with length len.
List = 2
Slot bits at ptr with element count len.
Trait Implementations§
Source§impl Clone for PredsyncValueKind
impl Clone for PredsyncValueKind
impl Copy for PredsyncValueKind
Source§impl Debug for PredsyncValueKind
impl Debug for PredsyncValueKind
impl Eq for PredsyncValueKind
Source§impl PartialEq for PredsyncValueKind
impl PartialEq for PredsyncValueKind
impl StructuralPartialEq for PredsyncValueKind
Auto Trait Implementations§
impl Freeze for PredsyncValueKind
impl RefUnwindSafe for PredsyncValueKind
impl Send for PredsyncValueKind
impl Sync for PredsyncValueKind
impl Unpin for PredsyncValueKind
impl UnsafeUnpin for PredsyncValueKind
impl UnwindSafe for PredsyncValueKind
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.