pub struct ReadHistoryTracker { /* private fields */ }Expand description
Tracker for files that have been read in the current session.
This tracker is used to enforce the “read before edit/write” rule:
- Files must be read with the
readtool before they can be edited or written - This prevents accidental overwrites and ensures context awareness
Implementations§
Trait Implementations§
Source§impl Clone for ReadHistoryTracker
impl Clone for ReadHistoryTracker
Source§fn clone(&self) -> ReadHistoryTracker
fn clone(&self) -> ReadHistoryTracker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadHistoryTracker
impl Debug for ReadHistoryTracker
Source§impl Default for ReadHistoryTracker
impl Default for ReadHistoryTracker
Source§fn default() -> ReadHistoryTracker
fn default() -> ReadHistoryTracker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReadHistoryTracker
impl RefUnwindSafe for ReadHistoryTracker
impl Send for ReadHistoryTracker
impl Sync for ReadHistoryTracker
impl Unpin for ReadHistoryTracker
impl UnsafeUnpin for ReadHistoryTracker
impl UnwindSafe for ReadHistoryTracker
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