Enum ReadlineError

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(io::Error)

I/O Error

Eof

EOF (VEOF / Ctrl-D)

Interrupted

Interrupt signal (VINTR / VQUIT / Ctrl-C)

Errno(nix::Error)

Unix Error from syscall

Signal(Signal)

Error generated on WINDOW_BUFFER_SIZE_EVENT / SIGWINCH signal

Implementations

impl Debug for ReadlineError

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Display for ReadlineError

fn fmt(self: &Self, f: &mut fmt::Formatter<'_>) -> fmt::Result

impl Error for ReadlineError

fn source(self: &Self) -> Option<&dyn Error + 'static>

impl Freeze for ReadlineError

impl From for ReadlineError

fn from(kind: io::ErrorKind) -> Self

impl From for ReadlineError

fn from(err: fmt::Error) -> Self

impl From for ReadlineError

fn from(err: io::Error) -> Self

impl From for ReadlineError

fn from(err: nix::Error) -> Self

impl RefUnwindSafe for ReadlineError

impl Send for ReadlineError

impl Sync for ReadlineError

impl Unpin for ReadlineError

impl UnwindSafe for ReadlineError

impl<T> Any for ReadlineError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ReadlineError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ReadlineError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ReadlineError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToString for ReadlineError

fn to_string(self: &Self) -> String

impl<T, U> Into for ReadlineError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ReadlineError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ReadlineError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>