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