Enum common_failures::io::Target
[−]
[src]
pub enum Target { Directory(PathBuf), File(PathBuf), Stdin, Stdout, Stderr, Other(String), }
The target of an I/O operation that failed.
Variants
Directory(PathBuf)
The directory at the specified path.
File(PathBuf)
The file at the specified path.
Stdin
Standard input.
Stdout
Standard output.
Stderr
Standard error.
Other(String)
Another target.
Trait Implementations
impl Clone for Target
[src]
fn clone(&self) -> Target
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Target
[src]
impl Eq for Target
[src]
impl PartialEq for Target
[src]
fn eq(&self, __arg_0: &Target) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Target) -> bool
[src]
This method tests for !=
.
impl Display for Target
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more