Enum rmpv::encode::Error
[−]
pub enum Error { InvalidMarkerWrite(Error), InvalidDataWrite(Error), }
An error that can occur when attempring to write multibyte MessagePack value.
Variants
InvalidMarkerWrite(Error)
I/O error while writing marker.
InvalidDataWrite(Error)
I/O error while writing data.
Trait Implementations
impl Display for ValueWriteError
impl From<MarkerWriteError> for ValueWriteError
fn from(err: MarkerWriteError) -> ValueWriteError
Performs the conversion.
impl From<DataWriteError> for ValueWriteError
fn from(err: DataWriteError) -> ValueWriteError
Performs the conversion.
impl Error for ValueWriteError
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more