pub enum EventKind {
WarmDone,
WarmFailed,
Change,
Overflow,
Closing,
ConnectionLost,
}Expand description
Kind of an event.
Variants§
WarmDone
A warm request finished. ref_id is the warm id.
WarmFailed
A warm request failed. error says why and path names the file.
Change
A watched path changed. ref_id is the watch id and change says how.
Overflow
Events were dropped. ref_id is the watch id, or 0 when the loss is not tied to one watch.
A local queue that overflowed also produces this event.
Closing
The server is about to close the connection, for example on unmount.
ConnectionLost
A connection ended without a Closing notice or a local close. error says why.
This event is local, the server does not send it.
Trait Implementations§
impl Copy for EventKind
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Freeze for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKind
impl Sync for EventKind
impl Unpin for EventKind
impl UnsafeUnpin for EventKind
impl UnwindSafe for EventKind
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