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]

[src]

Formats the value using the given formatter. Read more

impl From<Error<Error>> for Error
[src]

[src]

Performs the conversion.

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

[src]

Formats the value using the given formatter. Read more

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

[src]

A short description of the error. Read more

[src]

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

Auto Trait Implementations

impl<E> Send for Error<E> where
    E: Send

impl<E> Sync for Error<E> where
    E: Sync