Enum watchexec_events::Source
source · pub enum Source {
Filesystem,
Keyboard,
Mouse,
Os,
Time,
Internal,
}Expand description
The general origin of the event.
This is set by the event source. Note that not all of these are currently used.
Variants§
Filesystem
Event comes from a file change.
Keyboard
Event comes from a keyboard input.
Mouse
Event comes from a mouse click.
Os
Event comes from the OS.
Time
Event is time based.
Internal
Event is internal to Watchexec.
Trait Implementations§
source§impl PartialEq for Source
impl PartialEq for Source
impl Copy for Source
impl Eq for Source
impl StructuralEq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnwindSafe for Source
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