Enum bytevec::errors::ByteVecError
[−]
[src]
pub enum ByteVecError { StringDecodeUtf8Error(Utf8Error), BadSizeDecodeError { expected: BVExpectedSize, actual: usize, }, OverflowError, }
Variants
StringDecodeUtf8Error(Utf8Error)
BadSizeDecodeError
Fields of BadSizeDecodeError
expected: BVExpectedSize | |
actual: usize |
OverflowError
Trait Implementations
impl Debug for ByteVecError
[src]
impl Clone for ByteVecError
[src]
fn clone(&self) -> ByteVecError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Display for ByteVecError
[src]
impl Error for ByteVecError
[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 From<Utf8Error> for ByteVecError
[src]
fn from(error: Utf8Error) -> ByteVecError
Performs the conversion.