Struct tempfile::file::PathPersistError
source · pub struct PathPersistError {
pub error: Error,
pub path: TempPath,
}
Expand description
Error returned when persisting a temporary file path fails.
Fields§
§error: Error
The underlying IO error.
path: TempPath
The temporary file path that couldn’t be persisted.
Trait Implementations§
source§impl Debug for PathPersistError
impl Debug for PathPersistError
source§impl Display for PathPersistError
impl Display for PathPersistError
source§impl Error for PathPersistError
impl Error for PathPersistError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PathPersistError> for Error
impl From<PathPersistError> for Error
source§fn from(error: PathPersistError) -> Error
fn from(error: PathPersistError) -> Error
Converts to this type from the input type.
source§impl From<PathPersistError> for TempPath
impl From<PathPersistError> for TempPath
source§fn from(error: PathPersistError) -> TempPath
fn from(error: PathPersistError) -> TempPath
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PathPersistError
impl !RefUnwindSafe for PathPersistError
impl Send for PathPersistError
impl Sync for PathPersistError
impl Unpin for PathPersistError
impl !UnwindSafe for PathPersistError
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