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 Error for PersistError
[src]
impl Error for PersistError
[src]impl From<PersistError> for Error
[src]
impl From<PersistError> for Error
[src]fn from(error: PersistError) -> Error
[src]
impl From<PersistError> for NamedTempFile
[src]
impl From<PersistError> for NamedTempFile
[src]fn from(error: PersistError) -> NamedTempFileⓘNotable traits for NamedTempFile
impl Read for NamedTempFileimpl<'a> Read for &'a NamedTempFileimpl Write for NamedTempFileimpl<'a> Write for &'a NamedTempFile
[src]
Notable traits for NamedTempFile
impl Read for NamedTempFileimpl<'a> Read for &'a NamedTempFileimpl Write for NamedTempFileimpl<'a> Write for &'a NamedTempFile