Enum atomicwrites::Error [] [src]

pub enum Error<E> {
    Internal(Error),
    User(E),
}

Represents an error raised by AtomicFile.write.

Variants

The error originated in the library itself, while it was either creating a temporary file or moving the file into place.

The error originated in the user-supplied callback.

Trait Implementations

impl<E: Debug> Debug for Error<E>
[src]

Formats the value using the given formatter.

impl<E: Display> Display for Error<E>
[src]

Formats the value using the given formatter. Read more

impl<E: ErrorTrait> ErrorTrait for Error<E>
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more