pub struct FileWrite { /* private fields */ }Expand description
Capability that writes file contents with backup-before-mutate.
Every write creates a timestamped backup via BackupManager, enabling
rollback through the undo system. The backup is created before the
mutation, so a failed write still leaves a recoverable state.
Implementations§
Trait Implementations§
Source§impl Capability for FileWrite
impl Capability for FileWrite
Auto Trait Implementations§
impl Freeze for FileWrite
impl RefUnwindSafe for FileWrite
impl Send for FileWrite
impl Sync for FileWrite
impl Unpin for FileWrite
impl UnsafeUnpin for FileWrite
impl UnwindSafe for FileWrite
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