pub struct PersistError {
pub error: Error,
pub file: PersistableTempFile,
}
Expand description
Error returned when persisting a temporary file fails.
Fields§
§error: Error
The underlying IO error.
file: PersistableTempFile
The temporary file that couldn’t be persisted.
Trait Implementations§
Source§impl Debug for PersistError
impl Debug for PersistError
Source§impl From<PersistError> for PersistError
impl From<PersistError> for PersistError
Source§fn from(e: PersistError) -> Self
fn from(e: PersistError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PersistError
impl !RefUnwindSafe for PersistError
impl Send for PersistError
impl Sync for PersistError
impl Unpin for PersistError
impl !UnwindSafe for PersistError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more