pub struct FixedBytesWriterError(/* private fields */);Expand description
An error raised while decoding a slice.
Trait Implementations§
Source§impl Debug for FixedBytesWriterError
impl Debug for FixedBytesWriterError
Source§impl Display for FixedBytesWriterError
impl Display for FixedBytesWriterError
Source§impl Error for FixedBytesWriterError
impl Error for FixedBytesWriterError
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 FixedBytesWriterError
Available on crate feature std only.
impl Error for FixedBytesWriterError
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 FixedBytesWriterError
impl RefUnwindSafe for FixedBytesWriterError
impl Send for FixedBytesWriterError
impl Sync for FixedBytesWriterError
impl Unpin for FixedBytesWriterError
impl UnsafeUnpin for FixedBytesWriterError
impl UnwindSafe for FixedBytesWriterError
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