pub struct FileSystemWatcher {
pub glob_pattern: String,
pub kind: Option<WatchKind>,
}
Fields§
§glob_pattern: String
The glob pattern to watch
kind: Option<WatchKind>
The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.
Trait Implementations§
Source§impl Debug for FileSystemWatcher
impl Debug for FileSystemWatcher
Source§impl<'de> Deserialize<'de> for FileSystemWatcher
impl<'de> Deserialize<'de> for FileSystemWatcher
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileSystemWatcher
impl RefUnwindSafe for FileSystemWatcher
impl Send for FileSystemWatcher
impl Sync for FileSystemWatcher
impl Unpin for FileSystemWatcher
impl UnwindSafe for FileSystemWatcher
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