Struct PersistError
pub struct PersistError<F = File> { pub error: Error, pub file: NamedTempFile<F> }
Error returned when persisting a temporary file fails.
Fields
error: ErrorThe underlying IO error.
file: NamedTempFile<F>The temporary file that couldn't be persisted.
Trait Implementations
impl<F> Debug for PersistError<F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<F> Display for PersistError<F>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<F> Error for PersistError<F>
fn source(&self) -> Option<&dyn Error + 'static>