Enum atomicwrites::Error
[−]
[src]
pub enum Error<E> { Internal(Error), User(E), }
Represents an error raised by AtomicFile.write
.
Variants
Internal(Error)
The error originated in the library itself, while it was either creating a temporary file or moving the file into place.
User(E)
The error originated in the user-supplied callback.
Trait Implementations
impl<E: Debug> Debug for Error<E>
[src]
impl<E: Display> Display for Error<E>
[src]
impl<E: ErrorTrait> ErrorTrait for Error<E>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&ErrorTrait>
The lower-level cause of this error, if any. Read more