[][src]Enum winconsole::errors::WinError

pub enum WinError {
    Argument(ArgumentError),
    FromUtf8(FromUtf8Error),
    FromUtf16(FromUtf16Error),
    InvalidHandle(InvalidHandleError),
    Io(IoError),
}

Contains wrapped error types.

Variants

Argument(ArgumentError)

An argument error.

FromUtf8(FromUtf8Error)

An error which occurred while converting to a string from a UTF-8 byte vector.

FromUtf16(FromUtf16Error)

An error which occurred while converting to a string from a UTF-16 byte vector.

InvalidHandle(InvalidHandleError)

An invalid handle error.

Io(IoError)

An IO or OS error.

Trait Implementations

impl From<ArgumentError> for WinError[src]

impl From<FromUtf8Error> for WinError[src]

impl From<FromUtf16Error> for WinError[src]

impl From<InvalidHandleError> for WinError[src]

impl From<Error> for WinError[src]

impl Display for WinError[src]

impl Debug for WinError[src]

impl Error for WinError[src]

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for WinError

impl Sync for WinError

Blanket Implementations

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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