Enum mun_vfs::MonitorEntry [−][src]
Describes something to be monitored by a Monitor
.
Variants
Files(Vec<AbsPathBuf>)
A set of files
Directories(MonitorDirectories)
A dynamic set of files and directories
Implementations
impl MonitorEntry
[src]
pub fn contains_file(&self, path: impl AsRef<AbsPath>) -> bool
[src]
Returns true if, according to this instance, the file at the given path
is contained in
this entry.
pub fn contains_dir(&self, path: impl AsRef<AbsPath>) -> bool
[src]
Returns true if, according to this instance, the directory at the given path
is contained
in this set.
Trait Implementations
impl Clone for MonitorEntry
[src]
fn clone(&self) -> MonitorEntry
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MonitorEntry
[src]
Auto Trait Implementations
impl RefUnwindSafe for MonitorEntry
impl Send for MonitorEntry
impl Sync for MonitorEntry
impl Unpin for MonitorEntry
impl UnwindSafe for MonitorEntry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Any + Clone,
T: Any + Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,