Enum ketos::io::IoMode [] [src]

pub enum IoMode {
    Create,
    Open,
    Read,
    Stat,
    Write,
}

Indicates the type of I/O operation that generated an error.

Variants

Creating a new file

Opening an existing file

Reading data from an open file

Accessing file metadata

Writing data to an open file

Trait Implementations

impl Copy for IoMode
[src]

impl Clone for IoMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IoMode
[src]

Formats the value using the given formatter.

impl Eq for IoMode
[src]

impl PartialEq for IoMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for IoMode
[src]

Formats the value using the given formatter. Read more