pub struct MissingField<'a>(pub &'a str);Expand description
A field that is required is not specified in any of the layers. Missing from one layer is not a hard error, and if you need that, you should consider using a different crate.
Tuple Fields§
§0: &'a strTrait Implementations§
Source§impl<'a> Debug for MissingField<'a>
impl<'a> Debug for MissingField<'a>
Source§impl<'a> Display for MissingField<'a>
impl<'a> Display for MissingField<'a>
Source§impl<'a> Error for MissingField<'a>
impl<'a> Error for MissingField<'a>
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<'a> Freeze for MissingField<'a>
impl<'a> RefUnwindSafe for MissingField<'a>
impl<'a> Send for MissingField<'a>
impl<'a> Sync for MissingField<'a>
impl<'a> Unpin for MissingField<'a>
impl<'a> UnwindSafe for MissingField<'a>
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