pub enum NerError {
NotAvailable(String),
Config(String),
}Expand description
Error returned by NER provider operations.
Variants§
NotAvailable(String)
The requested NER provider is not compiled in or cannot be loaded.
Config(String)
The NER provider configuration is invalid.
Trait Implementations§
Source§impl Error for NerError
impl Error for NerError
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 NerError
impl RefUnwindSafe for NerError
impl Send for NerError
impl Sync for NerError
impl Unpin for NerError
impl UnsafeUnpin for NerError
impl UnwindSafe for NerError
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