Enum notify::event::AccessKind [−][src]
pub enum AccessKind { Any, Read, Open(AccessMode), Close(AccessMode), Other, }
Expand description
An event describing non-mutating access operations on files.
Variants
The catch-all case, to be used when the specific kind of event is unknown.
An event emitted when the file is read.
Open(AccessMode)
An event emitted when the file, or a handle to the file, is opened.
Close(AccessMode)
An event emitted when the file, or a handle to the file, is closed.
An event which specific kind is known but cannot be represented otherwise.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AccessKind
impl Send for AccessKind
impl Sync for AccessKind
impl Unpin for AccessKind
impl UnwindSafe for AccessKind
Blanket Implementations
Mutably borrows from an owned value. Read more