pub struct Handler<'link, S> { /* private fields */ }
Expand description
A message handler and the message ids it responds to.
Auto Trait Implementations§
impl<'link, S> Freeze for Handler<'link, S>
impl<'link, S> !RefUnwindSafe for Handler<'link, S>
impl<'link, S> Send for Handler<'link, S>
impl<'link, S> !Sync for Handler<'link, S>
impl<'link, S> Unpin for Handler<'link, S>
impl<'link, S> !UnwindSafe for Handler<'link, S>
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