pub struct Failed;Expand description
Sentinel indicating that a deserialization error has been recorded in the
Context.
Failed carries no data — the actual error details live in
Context::errors. Return Err(Failed) from
Deserialize::deserialize after calling one of the Context::error_*
methods.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Failed
impl RefUnwindSafe for Failed
impl Send for Failed
impl Sync for Failed
impl Unpin for Failed
impl UnsafeUnpin for Failed
impl UnwindSafe for Failed
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