pub enum AtomicStep {
Guard,
NoParent,
NonUtf8Name,
Temp,
TempExhausted,
Write,
PreservePermissions,
SetPermissions,
Sync,
Install,
SyncParent,
}Expand description
The step of an atomic installation that failed.
Variants§
Guard
Inspecting the target without following links.
NoParent
The target has no parent directory to write the temporary file into.
NonUtf8Name
The target’s own file name is not valid UTF-8.
Temp
Creating the private temporary file.
TempExhausted
Every candidate temporary name was taken.
Write
Writing the new bytes.
PreservePermissions
Re-applying the replaced file’s permissions.
SetPermissions
Applying explicitly requested permission bits. Unix only, because the bits themselves are: the step does not exist on a platform that has no mode to set, and a variant no code can construct is a step a reader would look for and never find.
Sync
Flushing the temporary file to storage.
Install
Installing the temporary file over the target.
SyncParent
Recording the new directory entry.
Trait Implementations§
Source§impl Clone for AtomicStep
impl Clone for AtomicStep
impl Copy for AtomicStep
Source§impl Debug for AtomicStep
impl Debug for AtomicStep
impl Eq for AtomicStep
Source§impl PartialEq for AtomicStep
impl PartialEq for AtomicStep
impl StructuralPartialEq for AtomicStep
Auto Trait Implementations§
impl Freeze for AtomicStep
impl RefUnwindSafe for AtomicStep
impl Send for AtomicStep
impl Sync for AtomicStep
impl Unpin for AtomicStep
impl UnsafeUnpin for AtomicStep
impl UnwindSafe for AtomicStep
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.