Struct tempfile::file::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]
impl Debug for PersistError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<PersistError> for Error
[src]
impl From<PersistError> for Error
fn from(error: PersistError) -> Error
[src]
fn from(error: PersistError) -> Error
Performs the conversion.
impl From<PersistError> for NamedTempFile
[src]
impl From<PersistError> for NamedTempFile
ⓘImportant traits for NamedTempFilefn from(error: PersistError) -> NamedTempFile
[src]
ⓘImportant traits for NamedTempFile
fn from(error: PersistError) -> NamedTempFile
Performs the conversion.
impl Display for PersistError
[src]
impl Display for PersistError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for PersistError
[src]
impl Error for PersistError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
fn type_id(&self) -> TypeId where
Self: 'static,
[src]
fn type_id(&self) -> TypeId where
Self: 'static,
🔬 This is a nightly-only experimental API. (error_type_id
)
unclear whether to commit to this public implementation detail
Get the TypeId
of self
Auto Trait Implementations
impl Send for PersistError
impl Send for PersistError
impl Sync for PersistError
impl Sync for PersistError