Enum rustyline::error::ReadlineError
[−]
[src]
pub enum ReadlineError { Io(Error), Eof, Interrupted, Char(CharsError), 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(Error)
I/O Error
Eof
EOF (Ctrl-D)
Interrupted
Ctrl-C
Char(CharsError)
Chars Error
Errno(Error)
Unix Error from syscall
Trait Implementations
impl Debug for ReadlineError
[src]
impl Display for ReadlineError
[src]
impl Error for ReadlineError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl From<Error> for ReadlineError
[src]
fn from(err: Error) -> ReadlineError
Performs the conversion.
impl From<Error> for ReadlineError
[src]
fn from(err: Error) -> ReadlineError
Performs the conversion.
impl From<CharsError> for ReadlineError
[src]
fn from(err: CharsError) -> ReadlineError
Performs the conversion.