pub struct VecWriterError(/* private fields */);Expand description
An error raised while decoding a slice.
Trait Implementations§
Source§impl Debug for VecWriterError
impl Debug for VecWriterError
Source§impl Display for VecWriterError
impl Display for VecWriterError
Source§impl Error for VecWriterError
impl Error for VecWriterError
Source§fn message<T>(message: T) -> Selfwhere
T: Display,
fn message<T>(message: T) -> Selfwhere
T: Display,
Collect an error from something that can be displayed. Read more
Source§fn uninhabitable(type_name: &'static str) -> Self
fn uninhabitable(type_name: &'static str) -> Self
Trying to decode an uninhabitable type.
Source§fn expected_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
fn expected_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
The value for the given tag could not be collected.
Source§fn invalid_field_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
fn invalid_field_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
Encountered an unsupported number tag.
Source§fn invalid_variant_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
fn invalid_variant_tag<T>(type_name: &'static str, tag: T) -> Selfwhere
T: Debug,
Indicate that a variant wasn’t supported by tag.
Source§impl Error for VecWriterError
Available on crate feature std only.
impl Error for VecWriterError
Available on crate feature
std only.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 Freeze for VecWriterError
impl RefUnwindSafe for VecWriterError
impl Send for VecWriterError
impl Sync for VecWriterError
impl Unpin for VecWriterError
impl UnsafeUnpin for VecWriterError
impl UnwindSafe for VecWriterError
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