Struct tempfile::PersistError [] [src]

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

Error returned when persisting a temporary file fails

Fields

error

The underlying IO error.

file

The temporary file that couldn't be persisted.

Trait Implementations

impl Display for PersistError

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

impl Error for PersistError

fn description(&self) -> &str

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

Derived Implementations

impl Debug for PersistError

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