Struct tempfile::PathPersistError
source · [−]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
sourceimpl Debug for PathPersistError
impl Debug for PathPersistError
sourceimpl Display for PathPersistError
impl Display for PathPersistError
sourceimpl Error for PathPersistError
impl Error for PathPersistError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<PathPersistError> for Error
impl From<PathPersistError> for Error
sourcefn from(error: PathPersistError) -> Error
fn from(error: PathPersistError) -> Error
Performs the conversion.
sourceimpl From<PathPersistError> for TempPath
impl From<PathPersistError> for TempPath
sourcefn from(error: PathPersistError) -> TempPath
fn from(error: PathPersistError) -> TempPath
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PathPersistError
impl Send for PathPersistError
impl Sync for PathPersistError
impl Unpin for PathPersistError
impl UnwindSafe for PathPersistError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more