pub enum ValueWriteError {
InvalidMarkerWrite(Error),
InvalidDataWrite(Error),
}
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§
Source§impl Debug for ValueWriteError
impl Debug for ValueWriteError
Source§impl Display for ValueWriteError
impl Display for ValueWriteError
Source§impl Error for ValueWriteError
impl Error for ValueWriteError
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§impl From<ValueWriteError> for Error
impl From<ValueWriteError> for Error
Source§fn from(err: ValueWriteError) -> Error
fn from(err: ValueWriteError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValueWriteError
impl !RefUnwindSafe for ValueWriteError
impl Send for ValueWriteError
impl Sync for ValueWriteError
impl Unpin for ValueWriteError
impl !UnwindSafe for ValueWriteError
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