Expand description
An error that can occur when attempting to write multi-byte MessagePack value.
Variants
InvalidMarkerWrite(Error)
I/O error while writing marker.
InvalidDataWrite(Error)
I/O error while writing data.
Trait Implementations
sourceimpl Debug for ValueWriteError
impl Debug for ValueWriteError
sourceimpl Display for ValueWriteError
impl Display for ValueWriteError
sourceimpl Error for ValueWriteError
impl Error for ValueWriteError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
sourceimpl From<DataWriteError> for ValueWriteError
impl From<DataWriteError> for ValueWriteError
sourcefn from(err: DataWriteError) -> ValueWriteError
fn from(err: DataWriteError) -> ValueWriteError
Converts to this type from the input type.
sourceimpl From<MarkerWriteError> for ValueWriteError
impl From<MarkerWriteError> for ValueWriteError
sourcefn from(err: MarkerWriteError) -> ValueWriteError
fn from(err: MarkerWriteError) -> ValueWriteError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for ValueWriteError
impl Send for ValueWriteError
impl Sync for ValueWriteError
impl Unpin for ValueWriteError
impl !UnwindSafe for ValueWriteError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more