pub struct BindingValue {
pub vector_slot: u64,
pub source_hash: u64,
pub source_hash_tracked: bool,
pub status: BindingStatus,
}Expand description
The part of a stored binding its key does not hold: vector_slot
(u64 LE) || source_hash (u64 LE) || flags (status in bits 0-1,
source_hash_tracked in bit 2). The key carries the space and source
(crate::keys::parse_emb_binding_key).
Fields§
§vector_slot: u64Slot of the stored vector within the space.
source_hash: u64Value hash captured when the binding was created.
source_hash_tracked: bool§status: BindingStatusCurrent lifecycle status of the binding.
Implementations§
Trait Implementations§
Source§impl Clone for BindingValue
impl Clone for BindingValue
impl Copy for BindingValue
Source§impl Debug for BindingValue
impl Debug for BindingValue
impl Eq for BindingValue
Source§impl PartialEq for BindingValue
impl PartialEq for BindingValue
impl StructuralPartialEq for BindingValue
Auto Trait Implementations§
impl Forget for BindingValue
impl Freeze for BindingValue
impl RefUnwindSafe for BindingValue
impl Send for BindingValue
impl Sync for BindingValue
impl Unpin for BindingValue
impl UnsafeUnpin for BindingValue
impl UnwindSafe for BindingValue
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> 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.