pub struct NoEmbedder;Expand description
A no-op embedder that always returns an empty vector.
Used with memory backends that support optional embeddings
(e.g. SqliteMemory<NoEmbedder>) when no embedding model is configured.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoEmbedder
impl RefUnwindSafe for NoEmbedder
impl Send for NoEmbedder
impl Sync for NoEmbedder
impl Unpin for NoEmbedder
impl UnsafeUnpin for NoEmbedder
impl UnwindSafe for NoEmbedder
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