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
Create
Creating a new file
Open
Opening an existing file
Read
Reading data from an open file
Stat
Accessing file metadata
Write
Writing data to an open file
Trait Implementations
impl Copy for IoMode
[src]
impl Clone for IoMode
[src]
fn clone(&self) -> IoMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for IoMode
[src]
impl Eq for IoMode
[src]
impl PartialEq for IoMode
[src]
fn eq(&self, __arg_0: &IoMode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.