[][src]Struct watchexec::pathop::PathOp

pub struct PathOp {
    pub path: PathBuf,
    pub op: Option<Op>,
    pub cookie: Option<u32>,
}

Info about a path and its corresponding notify event

Fields

path: PathBufop: Option<Op>cookie: Option<u32>

Methods

impl PathOp
[src]

pub fn new(path: &Path, op: Option<Op>, cookie: Option<u32>) -> PathOp
[src]

pub fn is_create(op_: Op) -> bool
[src]

pub fn is_remove(op_: Op) -> bool
[src]

pub fn is_rename(op_: Op) -> bool
[src]

pub fn is_write(op_: Op) -> bool
[src]

pub fn is_meta(op_: Op) -> bool
[src]

Trait Implementations

impl Clone for PathOp
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for PathOp
[src]

impl PartialEq<PathOp> for PathOp
[src]

impl Debug for PathOp
[src]

impl Hash for PathOp
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for PathOp

impl Sync for PathOp

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]