pub enum FormatKeyError {
Fmt(Error),
UnknownKey,
}
Expand description
Error produced when formatting
Variants§
Trait Implementations§
Source§impl Clone for FormatKeyError
impl Clone for FormatKeyError
Source§fn clone(&self) -> FormatKeyError
fn clone(&self) -> FormatKeyError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FormatKeyError
impl Debug for FormatKeyError
Source§impl Display for FormatKeyError
impl Display for FormatKeyError
Source§impl Error for FormatKeyError
impl Error for FormatKeyError
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()
Source§impl From<Error> for FormatKeyError
impl From<Error> for FormatKeyError
Source§impl PartialEq for FormatKeyError
impl PartialEq for FormatKeyError
impl StructuralPartialEq for FormatKeyError
Auto Trait Implementations§
impl Freeze for FormatKeyError
impl RefUnwindSafe for FormatKeyError
impl Send for FormatKeyError
impl Sync for FormatKeyError
impl Unpin for FormatKeyError
impl UnwindSafe for FormatKeyError
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