pub struct ReadContext { /* private fields */ }Expand description
A failure located within a named section or decode operation
(ReadError::Context). Its own boxed type so the enum stays small — the
assertion below pins it, since this error rides the innermost per-value
decode loops.
Trait Implementations§
Source§impl Debug for ReadContext
impl Debug for ReadContext
Source§impl Display for ReadContext
impl Display for ReadContext
Source§impl Error for ReadContext
impl Error for ReadContext
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 !RefUnwindSafe for ReadContext
impl !UnwindSafe for ReadContext
impl Freeze for ReadContext
impl Send for ReadContext
impl Sync for ReadContext
impl Unpin for ReadContext
impl UnsafeUnpin for ReadContext
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