pub enum WatchEvent {
Snapshot {
entries: Vec<RegisterEntry>,
revision: Revision,
},
Update(RegisterUpdate),
}Variants§
Snapshot
One event contains the complete, possibly empty, connection snapshot.
Update(RegisterUpdate)
Trait Implementations§
Source§impl Clone for WatchEvent
impl Clone for WatchEvent
Source§impl Debug for WatchEvent
impl Debug for WatchEvent
impl Eq for WatchEvent
Source§impl PartialEq for WatchEvent
impl PartialEq for WatchEvent
impl StructuralPartialEq for WatchEvent
Auto Trait Implementations§
impl Forget for WatchEvent
impl Freeze for WatchEvent
impl RefUnwindSafe for WatchEvent
impl Send for WatchEvent
impl Sync for WatchEvent
impl Unpin for WatchEvent
impl UnsafeUnpin for WatchEvent
impl UnwindSafe for WatchEvent
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