pub enum LevenshteinError {
InvalidDistanceMatrixError,
}Expand description
Represents an error specific to working with the Levenshtein distance, or the generated distance matrix
Variants§
InvalidDistanceMatrixError
Trait Implementations§
Source§impl Debug for LevenshteinError
impl Debug for LevenshteinError
Source§impl Display for LevenshteinError
impl Display for LevenshteinError
Source§impl Error for LevenshteinError
impl Error for LevenshteinError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for LevenshteinError
impl RefUnwindSafe for LevenshteinError
impl Send for LevenshteinError
impl Sync for LevenshteinError
impl Unpin for LevenshteinError
impl UnwindSafe for LevenshteinError
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