pub struct MsgpackStructureError(/* private fields */);Expand description
Why check_msgpack_structure or msgpack_document_len rejected its
input.
Display is the bare reason with no prefix (for example
nests deeper than 100 levels), so each caller adds its own. The wording is
stable within a minor version: callers may match on its leading words.
Trait Implementations§
Source§impl Clone for MsgpackStructureError
impl Clone for MsgpackStructureError
Source§impl Debug for MsgpackStructureError
impl Debug for MsgpackStructureError
Source§impl Display for MsgpackStructureError
impl Display for MsgpackStructureError
impl Eq for MsgpackStructureError
Source§impl Error for MsgpackStructureError
impl Error for MsgpackStructureError
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 MsgpackStructureError
impl PartialEq for MsgpackStructureError
impl StructuralPartialEq for MsgpackStructureError
Auto Trait Implementations§
impl Freeze for MsgpackStructureError
impl RefUnwindSafe for MsgpackStructureError
impl Send for MsgpackStructureError
impl Sync for MsgpackStructureError
impl Unpin for MsgpackStructureError
impl UnsafeUnpin for MsgpackStructureError
impl UnwindSafe for MsgpackStructureError
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