pub struct TempError {
pub dir: PathBuf,
pub purpose: String,
pub reason: String,
}Expand description
The temporary directory cannot hold a scratch directory: TEMP names one
that does not exist or cannot be written. Every command says it alike.
Fields§
§dir: PathBufThe directory that could not be made.
purpose: StringWhat it was for (check clang, format).
reason: StringWhy, as the system said.
Trait Implementations§
Source§impl Error for TempError
impl Error for TempError
1.30.0 · 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 Forget for TempError
impl Freeze for TempError
impl Move for TempError
impl RefUnwindSafe for TempError
impl Send for TempErrorwhere
RawVecInner: Send,
impl Sync for TempErrorwhere
RawVecInner: Sync,
impl Unpin for TempError
impl UnsafeUnpin for TempError
impl UnwindSafe for TempErrorwhere
RawVecInner: UnwindSafe,
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