pub enum DynamicFormatErrorKind {
TokenError {
desc: String,
},
KeyError {
key: String,
entries: Vec<(String, String)>,
},
}
Expand description
Kinds of error. Provide more information of the error.
Variants§
TokenError
The token (formatting grammar) is wrong.
KeyError
The key (in braces) is not found in the dictionary.
Trait Implementations§
Source§impl Clone for DynamicFormatErrorKind
impl Clone for DynamicFormatErrorKind
Source§fn clone(&self) -> DynamicFormatErrorKind
fn clone(&self) -> DynamicFormatErrorKind
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 moreAuto Trait Implementations§
impl Freeze for DynamicFormatErrorKind
impl RefUnwindSafe for DynamicFormatErrorKind
impl Send for DynamicFormatErrorKind
impl Sync for DynamicFormatErrorKind
impl Unpin for DynamicFormatErrorKind
impl UnwindSafe for DynamicFormatErrorKind
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