pub enum RuntimeTempDirError {
InvalidScope {
scope: String,
},
Io(Error),
}Expand description
Error returned by runtime temporary directory helpers.
Variants§
InvalidScope
The scope segment is empty or contains path-unsafe characters.
Io(Error)
The filesystem operation failed.
Trait Implementations§
Source§impl Debug for RuntimeTempDirError
impl Debug for RuntimeTempDirError
Source§impl Display for RuntimeTempDirError
impl Display for RuntimeTempDirError
Source§impl Error for RuntimeTempDirError
impl Error for RuntimeTempDirError
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()
Auto Trait Implementations§
impl Freeze for RuntimeTempDirError
impl !RefUnwindSafe for RuntimeTempDirError
impl Send for RuntimeTempDirError
impl Sync for RuntimeTempDirError
impl Unpin for RuntimeTempDirError
impl UnsafeUnpin for RuntimeTempDirError
impl !UnwindSafe for RuntimeTempDirError
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