pub struct MissingElement { /* private fields */ }Expand description
An element a decode step required but could not find.
Carries the qualified name so a DecodeError
wrapping it says which element was absent, not just that decoding failed.
Implementations§
Trait Implementations§
Source§impl Clone for MissingElement
impl Clone for MissingElement
Source§impl Debug for MissingElement
impl Debug for MissingElement
Source§impl Display for MissingElement
impl Display for MissingElement
impl Eq for MissingElement
Source§impl Error for MissingElement
impl Error for MissingElement
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 PartialEq for MissingElement
impl PartialEq for MissingElement
impl StructuralPartialEq for MissingElement
Auto Trait Implementations§
impl Freeze for MissingElement
impl RefUnwindSafe for MissingElement
impl Send for MissingElement
impl Sync for MissingElement
impl Unpin for MissingElement
impl UnsafeUnpin for MissingElement
impl UnwindSafe for MissingElement
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