Enum zero_formatter::ZeroFormatterError
[−]
[src]
pub enum ZeroFormatterError { IoError(Error), FromUtf8Error(FromUtf8Error), InvalidBinary(u64), }
Variants
IoError(Error)
FromUtf8Error(FromUtf8Error)
InvalidBinary(u64)
Methods
impl ZeroFormatterError
[src]
fn invalid_binary<T>(offset: u64) -> ZeroFormatterResult<T>
Trait Implementations
impl Debug for ZeroFormatterError
[src]
impl Display for ZeroFormatterError
[src]
impl Error for ZeroFormatterError
[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<Error> for ZeroFormatterError
[src]
impl From<FromUtf8Error> for ZeroFormatterError
[src]
fn from(err: FromUtf8Error) -> Self
Performs the conversion.