pub struct Mask(/* private fields */);Expand description
A mask specifying event type interest
Implementations§
Source§impl Mask
impl Mask
Sourcepub const CLOSE_WRITE: Mask
pub const CLOSE_WRITE: Mask
Writable file was closed
Sourcepub const CLOSE_NOWRITE: Mask
pub const CLOSE_NOWRITE: Mask
Unwritable file closed
Sourcepub const MOVED_FROM: Mask
pub const MOVED_FROM: Mask
File was moved from X
Sourcepub const DELETE_SELF: Mask
pub const DELETE_SELF: Mask
Self was deleted
Sourcepub const Q_OVERFLOW: Mask
pub const Q_OVERFLOW: Mask
Event queued overflowed
Sourcepub const DONT_FOLLOW: Mask
pub const DONT_FOLLOW: Mask
Don’t follow a sym link
Sourcepub const EXCL_UNLINK: Mask
pub const EXCL_UNLINK: Mask
Exclude events on unlinked objects
Sourcepub const MASK_CREATE: Mask
pub const MASK_CREATE: Mask
Only create watches
Trait Implementations§
Source§impl BitAndAssign for Mask
impl BitAndAssign for Mask
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for Mask
impl BitOrAssign for Mask
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreimpl Copy for Mask
Auto Trait Implementations§
impl Freeze for Mask
impl RefUnwindSafe for Mask
impl Send for Mask
impl Sync for Mask
impl Unpin for Mask
impl UnwindSafe for Mask
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