Enum rustyline::error::ReadlineError [-] [+] [src]

pub enum ReadlineError {
    Io(Error),
    Errno(Error),
}

The error type for Rustyline errors that can arise from I/O related errors or Errno when using the nix-rust library

Variants

Io

I/O Error

Errno

Error from syscall

Trait Implementations

impl Display for ReadlineError

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

impl Error for ReadlineError

fn description(&self) -> &str

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

impl From<Error> for ReadlineError

fn from(err: Error) -> ReadlineError

impl From<Error> for ReadlineError

fn from(err: Error) -> ReadlineError

Derived Implementations

impl Debug for ReadlineError

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