Enum fst_no_std::automaton::LevenshteinError
source · pub enum LevenshteinError {
TooManyStates(usize),
}Expand description
An error that occurred while building a Levenshtein automaton.
This error is only defined when the levenshtein crate feature is enabled.
Variants§
TooManyStates(usize)
If construction of the automaton reaches some hard-coded limit on the number of states, then this error is returned.
The number given is the limit that was exceeded.
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)>
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 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