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]

Formats the value using the given formatter. Read more

impl From<PersistError> for Error
[src]

Performs the conversion.

impl From<PersistError> for NamedTempFile
[src]

Important traits for NamedTempFile

Performs the conversion.

impl Display for PersistError
[src]

Formats the value using the given formatter. Read more

impl Error for PersistError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations