pub struct Listener { /* private fields */ }Expand description
An owned listener for registry events.
This is created by registry::ListenerLocalBuilder 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§
Auto Trait Implementations§
impl Freeze for Listener
impl !RefUnwindSafe for Listener
impl !Send for Listener
impl !Sync for Listener
impl Unpin for Listener
impl !UnwindSafe for Listener
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