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[src]
Formats the value using the given formatter. Read more
impl From<PersistError> for Error[src]
fn from(error: PersistError) -> Error[src]
Performs the conversion.
impl From<PersistError> for NamedTempFile[src]
ⓘImportant traits for NamedTempFilefn from(error: PersistError) -> NamedTempFile[src]
ⓘImportant traits for NamedTempFile
Performs the conversion.
impl Display for PersistError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more