pub struct DropRemoveTableObserverHandle { /* private fields */ }
Expand description
Utility type that removes an observer from a Watcher
when the type is dropped.
The TableObserver
will be removed with Watcher::remove_observer_deferred()
.
Implementations§
Source§impl DropRemoveTableObserverHandle
impl DropRemoveTableObserverHandle
Sourcepub fn handle(&self) -> TableObserverHandle
pub fn handle(&self) -> TableObserverHandle
Returns the handle of the table observer.
Trait Implementations§
Source§impl Clone for DropRemoveTableObserverHandle
impl Clone for DropRemoveTableObserverHandle
Source§fn clone(&self) -> DropRemoveTableObserverHandle
fn clone(&self) -> DropRemoveTableObserverHandle
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 moreAuto Trait Implementations§
impl Freeze for DropRemoveTableObserverHandle
impl !RefUnwindSafe for DropRemoveTableObserverHandle
impl Send for DropRemoveTableObserverHandle
impl Sync for DropRemoveTableObserverHandle
impl Unpin for DropRemoveTableObserverHandle
impl !UnwindSafe for DropRemoveTableObserverHandle
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