pub enum AtomicWriteError {
CreateParentDir {
path: PathBuf,
source: Error,
},
CreateTempFile {
path: PathBuf,
source: Error,
},
TempPathExhausted {
target: PathBuf,
attempts: u32,
},
WriteTempFile {
path: PathBuf,
source: Error,
},
SetPermissions {
path: PathBuf,
source: Error,
},
ReplaceFile {
from: PathBuf,
to: PathBuf,
source: Error,
},
}Variants§
Trait Implementations§
Source§impl Debug for AtomicWriteError
impl Debug for AtomicWriteError
Source§impl Display for AtomicWriteError
impl Display for AtomicWriteError
Source§impl Error for AtomicWriteError
impl Error for AtomicWriteError
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 AtomicWriteError
impl !RefUnwindSafe for AtomicWriteError
impl Send for AtomicWriteError
impl Sync for AtomicWriteError
impl Unpin for AtomicWriteError
impl UnsafeUnpin for AtomicWriteError
impl !UnwindSafe for AtomicWriteError
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