Enum trompt::Error
[−]
[src]
pub enum Error { Io(Error), Validation(ValidationError), FromUtf8(FromUtf8Error), }
Variants
Io(Error)
Validation(ValidationError)
FromUtf8(FromUtf8Error)
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, other: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl From<Error> for Error
[src]
impl From<FromUtf8Error> for Error
[src]
fn from(err: FromUtf8Error) -> Error
Performs the conversion.
impl From<ValidationError> for Error
[src]
fn from(err: ValidationError) -> Error
Performs the conversion.