Struct touch::Error
[−]
[src]
pub struct Error { /* fields omitted */ }
An implementation of Error
which may or may not include a cause.
Methods
impl Error
[src]
fn new(operation: &Operation, path: &str) -> Self
Creates a new Error
with the provided Operation
on the given path.
fn with_cause(operation: &Operation, path: &str, cause: Error) -> Self
Creates a new Error
with the provided Operation
on the given path
and specifies the upstream cause of the error.
fn cause(&self) -> Option<&Error>
Returns a reference to the upstream cause of this error if one exists.