Enum rmp::encode::ValueWriteError [] [src]

pub enum ValueWriteError {
    InvalidMarkerWrite(WriteError),
    InvalidDataWrite(WriteError),
}

Represents an error that can occur when attempring to write MessagePack'ed complex value into the write.

Variants

InvalidMarkerWrite(WriteError)

IO error while writing marker.

InvalidDataWrite(WriteError)

IO error while writing data.

Trait Implementations

impl Debug for ValueWriteError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ValueWriteError
[src]

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

impl Display for ValueWriteError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<MarkerWriteError> for ValueWriteError
[src]

fn from(err: MarkerWriteError) -> ValueWriteError

Performs the conversion.

impl From<FixedValueWriteError> for ValueWriteError
[src]

fn from(err: FixedValueWriteError) -> ValueWriteError

Performs the conversion.