pub struct Document<'a, V> { /* private fields */ }Expand description
Simple container class that clients can use to supply diskann with a vector and its attributes
Implementations§
Trait Implementations§
Source§impl<'a, VT, DP, AS> SetElement<Document<'a, VT>> for DocumentProvider<DP, AS>where
DP: DataProvider + Delete + SetElement<&'a VT>,
AS: AttributeStore<DP::InternalId> + AsyncFriendly,
VT: Sync + Send,
impl<'a, VT, DP, AS> SetElement<Document<'a, VT>> for DocumentProvider<DP, AS>where
DP: DataProvider + Delete + SetElement<&'a VT>,
AS: AttributeStore<DP::InternalId> + AsyncFriendly,
VT: Sync + Send,
Auto Trait Implementations§
impl<'a, V> Freeze for Document<'a, V>
impl<'a, V> RefUnwindSafe for Document<'a, V>where
V: RefUnwindSafe,
impl<'a, V> Send for Document<'a, V>where
V: Sync,
impl<'a, V> Sync for Document<'a, V>where
V: Sync,
impl<'a, V> Unpin for Document<'a, V>
impl<'a, V> UnsafeUnpin for Document<'a, V>
impl<'a, V> UnwindSafe for Document<'a, V>where
V: RefUnwindSafe,
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