Enum rust2vec::BuilderError
source · pub enum BuilderError {
InvalidEmbeddingLength {
expected_len: usize,
len: usize,
},
DuplicateWord {
word: String,
},
}
Variants
InvalidEmbeddingLength
DuplicateWord
Fields
word: String
Trait Implementations
sourceimpl Debug for BuilderError
impl Debug for BuilderError
sourceimpl Display for BuilderError
impl Display for BuilderError
sourceimpl Fail for BuilderError
impl Fail for BuilderError
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreAuto Trait Implementations
impl RefUnwindSafe for BuilderError
impl Send for BuilderError
impl Sync for BuilderError
impl Unpin for BuilderError
impl UnwindSafe for BuilderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more