Enum ReadlineError
#[non_exhaustive]
pub enum ReadlineError
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 (VEOF / Ctrl-D)
-
Interrupted Interrupt signal (VINTR / VQUIT / Ctrl-C)
-
Errno(Error) Unix Error from syscall
-
Signal(Signal) Error generated on
WINDOW_BUFFER_SIZE_EVENT/SIGWINCHsignal
Trait Implementations
impl Debug for ReadlineError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ReadlineError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for ReadlineError
fn source(&self) -> Option<&dyn Error + 'static>
impl From<Errno> for ReadlineError
fn from(err: Error) -> Self
impl From<Error> for ReadlineError
fn from(err: Error) -> Self
impl From<Error> for ReadlineError
fn from(err: Error) -> Self
impl From<ErrorKind> for ReadlineError
fn from(kind: ErrorKind) -> Self