pub struct NodeListener { /* private fields */ }Expand description
An owned listener for node events.
This is created by NodeListenerLocalBuilder and will receive events as long as it is alive.
When this gets dropped, the listener gets unregistered and no events will be received by it.
Trait Implementations§
Source§impl Drop for NodeListener
impl Drop for NodeListener
impl Listener for NodeListener
Auto Trait Implementations§
impl Freeze for NodeListener
impl !RefUnwindSafe for NodeListener
impl !Send for NodeListener
impl !Sync for NodeListener
impl Unpin for NodeListener
impl !UnwindSafe for NodeListener
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