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

IO error while writing marker.

InvalidDataWrite

IO error while writing data.

Trait Implementations

impl Error for ValueWriteError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for ValueWriteError

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

impl From<MarkerWriteError> for ValueWriteError

fn from(err: MarkerWriteError) -> ValueWriteError

impl From<FixedValueWriteError> for ValueWriteError

fn from(err: FixedValueWriteError) -> ValueWriteError

Derived Implementations

impl Debug for ValueWriteError

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