pub struct ListenerRegistration { /* private fields */ }Expand description
RAII-style listener registration; dropping the handle detaches the underlying listener.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ListenerRegistration
impl !RefUnwindSafe for ListenerRegistration
impl Send for ListenerRegistration
impl Sync for ListenerRegistration
impl Unpin for ListenerRegistration
impl !UnwindSafe for ListenerRegistration
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