pub enum MetadataIoOperation {
CreateParent,
CreateTemporary,
WriteTemporary,
SyncTemporary,
ReplaceTarget,
SyncParent,
RemoveTemporary,
}Expand description
A filesystem step in the atomic replacement protocol.
Variants§
CreateParent
Represents the create parent case.
CreateTemporary
Represents the create temporary case.
WriteTemporary
Represents the write temporary case.
SyncTemporary
Represents the sync temporary case.
ReplaceTarget
Represents the replace target case.
SyncParent
Represents the sync parent case.
RemoveTemporary
Represents the remove temporary case.
Implementations§
Source§impl MetadataIoOperation
impl MetadataIoOperation
Sourcepub const fn runtime_operation(self) -> RuntimeOperation
pub const fn runtime_operation(self) -> RuntimeOperation
Returns the closed runtime diagnostic operation for this filesystem step.
Trait Implementations§
Source§impl Clone for MetadataIoOperation
impl Clone for MetadataIoOperation
impl Copy for MetadataIoOperation
Source§impl Debug for MetadataIoOperation
impl Debug for MetadataIoOperation
Source§impl Display for MetadataIoOperation
impl Display for MetadataIoOperation
impl Eq for MetadataIoOperation
Source§impl PartialEq for MetadataIoOperation
impl PartialEq for MetadataIoOperation
impl StructuralPartialEq for MetadataIoOperation
Auto Trait Implementations§
impl Freeze for MetadataIoOperation
impl RefUnwindSafe for MetadataIoOperation
impl Send for MetadataIoOperation
impl Sync for MetadataIoOperation
impl Unpin for MetadataIoOperation
impl UnsafeUnpin for MetadataIoOperation
impl UnwindSafe for MetadataIoOperation
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