Struct tempfile::PersistError [] [src]

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

Error returned when persisting a temporary file fails

Fields

error: Error
[]

The underlying IO error.

file: NamedTempFile
[]

The temporary file that couldn't be persisted.

Trait Implementations

impl Debug for PersistError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result[]

Formats the value using the given formatter.

impl Display for PersistError
[src]

fn fmt(&self, f: &mut Formatter) -> Result[]

Formats the value using the given formatter.

impl Error for PersistError
[src]

fn description(&self) -> &str[]

A short description of the error. Read more

fn cause(&self) -> Option<&Error>[]

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