Enum streampager::error::Error[][src]

pub enum Error {
    Termwiz(Error),
    Regex(Error),
    Io(Error),
    TempfilePersist(PersistError),
    Keymap(KeymapError),
    Binding(BindingError),
    Fmt(Error),
    ChannelRecv(RecvError),
    ChannelTryRecv(TryRecvError),
    ChannelSend,
    TerminfoDatabaseMissing,
    WithCommand {
        error: Box<Self>,
        command: String,
    },
    WithFile {
        error: Box<Self>,
        file: String,
    },
}

Main error type.

Variants

Termwiz(Error)

Comes from Termwiz.

Regex(Error)

Comes from Regex.

Io(Error)

Generic I/O error.

TempfilePersist(PersistError)

Returned when persisting a temporary file fails.

Keymap(KeymapError)

Keymap-related error.

Binding(BindingError)

Binding-related error.

Fmt(Error)

Generic formatting error.

ChannelRecv(RecvError)

Receive error on a channel.

ChannelTryRecv(TryRecvError)

Try-receive error on a channel.

ChannelSend

Send error on a channel.

TerminfoDatabaseMissing

Error returned if the terminfo database is missing.

WithCommand

Wrapped error within the context of a command.

Fields of WithCommand

error: Box<Self>

Wrapped error.

command: String

Command the error is about.

WithFile

Wrapped error within the context of a file.

Fields of WithFile

error: Box<Self>

Wrapped error.

file: String

File the error is about.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<BindingError> for Error[src]

impl From<Error> for ControlledFileError[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<PersistError> for Error[src]

impl From<RecvError> for Error[src]

impl<T> From<SendError<T>> for Error[src]

impl From<TryRecvError> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,