Struct tempfile::PersistError [] [src]

pub struct PersistError {
    pub error: Error,
    pub file: NamedTempFile,
}

Error returned when persisting a temporary file fails.

Fields

The underlying IO error.

The temporary file that couldn't be persisted.

Trait Implementations

impl Debug for PersistError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<PersistError> for Error
[src]

[src]

Performs the conversion.

impl From<PersistError> for NamedTempFile
[src]

Important traits for NamedTempFile
[src]

Performs the conversion.

impl Display for PersistError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for PersistError
[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 Send for PersistError

impl Sync for PersistError