Enum bytevec::errors::ByteVecError [] [src]

pub enum ByteVecError {
    StringDecodeUtf8Error(Utf8Error),
    BadSizeDecodeError {
        expected: BVExpectedSize,
        actual: usize,
    },
    OverflowError,
}

Variants

StringDecodeUtf8Error
BadSizeDecodeError

Fields

expected
actual
OverflowError

Trait Implementations

impl Display for ByteVecError

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

impl Error for ByteVecError

fn description(&self) -> &str

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

impl From<Utf8Error> for ByteVecError

fn from(error: Utf8Error) -> ByteVecError

Derived Implementations

impl Clone for ByteVecError

fn clone(&self) -> ByteVecError

1.0.0fn clone_from(&mut self, source: &Self)

impl Debug for ByteVecError

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