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