Enum caf::CafError
[−]
[src]
pub enum CafError { Io(IoError), FromUtf8(FromUtf8Error), NotCaf, UnsupportedChunkType(ChunkType), }
Variants
Io(IoError)
FromUtf8(FromUtf8Error)
NotCaf
If the given stream doesn't start with a CAF header.
UnsupportedChunkType(ChunkType)
If the chunk can't be decoded because its type is not supported
Trait Implementations
impl Debug for CafError
[src]
impl From<IoError> for CafError
[src]
impl From<FromUtf8Error> for CafError
[src]
fn from(utf8_err: FromUtf8Error) -> Self
Performs the conversion.
impl Error for CafError
[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