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)>
Returns 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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 32 bytes