pub enum EmbeddingError {
ShapeMismatch,
TokenOutOfRange,
}Variants§
Trait Implementations§
Source§impl Clone for EmbeddingError
impl Clone for EmbeddingError
Source§fn clone(&self) -> EmbeddingError
fn clone(&self) -> EmbeddingError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EmbeddingError
impl Debug for EmbeddingError
Source§impl PartialEq for EmbeddingError
impl PartialEq for EmbeddingError
impl Copy for EmbeddingError
impl Eq for EmbeddingError
impl StructuralPartialEq for EmbeddingError
Auto Trait Implementations§
impl Freeze for EmbeddingError
impl RefUnwindSafe for EmbeddingError
impl Send for EmbeddingError
impl Sync for EmbeddingError
impl Unpin for EmbeddingError
impl UnsafeUnpin for EmbeddingError
impl UnwindSafe for EmbeddingError
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