pub struct DictionaryNotFoundError {
pub name: String,
pub suggestion: Option<String>,
}Expand description
Error when a dictionary is not found
Fields§
§name: String§suggestion: Option<String>Implementations§
Trait Implementations§
Source§impl Debug for DictionaryNotFoundError
impl Debug for DictionaryNotFoundError
Source§impl Display for DictionaryNotFoundError
impl Display for DictionaryNotFoundError
Source§impl Error for DictionaryNotFoundError
impl Error for DictionaryNotFoundError
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 DictionaryNotFoundError
impl RefUnwindSafe for DictionaryNotFoundError
impl Send for DictionaryNotFoundError
impl Sync for DictionaryNotFoundError
impl Unpin for DictionaryNotFoundError
impl UnsafeUnpin for DictionaryNotFoundError
impl UnwindSafe for DictionaryNotFoundError
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