pub struct WatchOptions {
pub debounce: Duration,
pub poll_interval: Duration,
pub loss_timeout: Duration,
pub password: Option<String>,
pub key_path: Option<PathBuf>,
}Fields§
§debounce: Duration§poll_interval: Duration§loss_timeout: Duration§password: Option<String>§key_path: Option<PathBuf>Trait Implementations§
Source§impl Clone for WatchOptions
impl Clone for WatchOptions
Source§fn clone(&self) -> WatchOptions
fn clone(&self) -> WatchOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WatchOptions
impl Debug for WatchOptions
Auto Trait Implementations§
impl Freeze for WatchOptions
impl RefUnwindSafe for WatchOptions
impl Send for WatchOptions
impl Sync for WatchOptions
impl Unpin for WatchOptions
impl UnsafeUnpin for WatchOptions
impl UnwindSafe for WatchOptions
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