pub enum FmtError {
Invalid(String),
KeyError(String),
TypeError(String),
}Expand description
LOC-error
Variants§
Trait Implementations§
Source§impl Error for FmtError
impl Error for FmtError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
impl StructuralPartialEq for FmtError
Auto Trait Implementations§
impl Freeze for FmtError
impl RefUnwindSafe for FmtError
impl Send for FmtError
impl Sync for FmtError
impl Unpin for FmtError
impl UnwindSafe for FmtError
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