[][src]Struct ketos::io::IoError

pub struct IoError {
    pub err: Error,
    pub path: PathBuf,
    pub mode: IoMode,
}

Describes the cause of an io::Error.

Fields

err: Error

Error value

path: PathBuf

Path to file whose operation produced the error

mode: IoMode

I/O mode that produced the error

Methods

impl IoError[src]

pub fn new(mode: IoMode, path: &Path, err: Error) -> IoError[src]

Creates a new IoError.

Trait Implementations

impl Debug for IoError[src]

impl Display for IoError[src]

impl From<IoError> for Error[src]

impl NameDisplay for IoError[src]

Auto Trait Implementations

impl !RefUnwindSafe for IoError

impl Send for IoError

impl Sync for IoError

impl Unpin for IoError

impl !UnwindSafe for IoError

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>,