pub struct FormatEntryError {
pub missing_key: String,
}
Expand description
Errors while formatting settings
Right now the only error that can occur is having a key specified in the layout that isn’t defined in the settings hashmap
Fields§
§missing_key: String
Name of missing key
Trait Implementations§
Source§impl Clone for FormatEntryError
impl Clone for FormatEntryError
Source§fn clone(&self) -> FormatEntryError
fn clone(&self) -> FormatEntryError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FormatEntryError
impl Debug for FormatEntryError
Source§impl Display for FormatEntryError
impl Display for FormatEntryError
Source§impl Error for FormatEntryError
impl Error for FormatEntryError
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()
Source§impl Hash for FormatEntryError
impl Hash for FormatEntryError
Source§impl Ord for FormatEntryError
impl Ord for FormatEntryError
Source§fn cmp(&self, other: &FormatEntryError) -> Ordering
fn cmp(&self, other: &FormatEntryError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FormatEntryError
impl PartialEq for FormatEntryError
Source§impl PartialOrd for FormatEntryError
impl PartialOrd for FormatEntryError
impl Eq for FormatEntryError
impl StructuralPartialEq for FormatEntryError
Auto Trait Implementations§
impl Freeze for FormatEntryError
impl RefUnwindSafe for FormatEntryError
impl Send for FormatEntryError
impl Sync for FormatEntryError
impl Unpin for FormatEntryError
impl UnwindSafe for FormatEntryError
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