pub struct PollingDevWatcher { /* private fields */ }Implementations§
Source§impl PollingDevWatcher
impl PollingDevWatcher
pub fn new(options: DevWatchOptions) -> Result<Self, DevWatchError>
pub fn poll(&mut self) -> Result<Option<DevWatchTrigger>, DevWatchError>
Trait Implementations§
Source§impl Clone for PollingDevWatcher
impl Clone for PollingDevWatcher
Source§fn clone(&self) -> PollingDevWatcher
fn clone(&self) -> PollingDevWatcher
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PollingDevWatcher
impl RefUnwindSafe for PollingDevWatcher
impl Send for PollingDevWatcher
impl Sync for PollingDevWatcher
impl Unpin for PollingDevWatcher
impl UnsafeUnpin for PollingDevWatcher
impl UnwindSafe for PollingDevWatcher
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