pub enum WatchKind {
Access,
Modify,
}Expand description
Which kind of field touch a watchpoint fires on.
Variants§
Access
Every read of the field (FIELD_ACCESS) — noisy on a hot field.
Modify
Every write to the field (FIELD_MODIFICATION), reported before the store commits.
Implementations§
Trait Implementations§
impl Copy for WatchKind
impl Eq for WatchKind
impl StructuralPartialEq for WatchKind
Auto Trait Implementations§
impl Freeze for WatchKind
impl RefUnwindSafe for WatchKind
impl Send for WatchKind
impl Sync for WatchKind
impl Unpin for WatchKind
impl UnsafeUnpin for WatchKind
impl UnwindSafe for WatchKind
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