pub struct WatcherBuilder { /* private fields */ }Expand description
文件监控器构建器
Implementations§
Source§impl WatcherBuilder
impl WatcherBuilder
Sourcepub fn poll_interval(self, interval_ms: u64) -> Self
pub fn poll_interval(self, interval_ms: u64) -> Self
设置轮询间隔
Sourcepub fn build(self) -> FileWatcher
pub fn build(self) -> FileWatcher
构建监控器
Auto Trait Implementations§
impl Freeze for WatcherBuilder
impl RefUnwindSafe for WatcherBuilder
impl Send for WatcherBuilder
impl Sync for WatcherBuilder
impl Unpin for WatcherBuilder
impl UnsafeUnpin for WatcherBuilder
impl UnwindSafe for WatcherBuilder
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