pub trait Handler<Ep: EventpOps> {
// Required method
fn handle(&mut self, event: Event, eventp: Pinned<'_, Ep>);
}Expand description
See module level docs for more information.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Event, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Event, Interest, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Event, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Event, Pinned<'_, Ep>, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Interest, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Interest, Event, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Interest, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Interest, Pinned<'_, Ep>, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Pinned<'_, Ep>, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Pinned<'_, Ep>, Event, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Pinned<'_, Ep>, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd, Pinned<'_, Ep>, Interest, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (&mut Fd,), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, &mut Fd, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, &mut Fd, Interest, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, &mut Fd, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, &mut Fd, Pinned<'_, Ep>, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Interest, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Interest, &mut Fd, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Interest, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Interest, Pinned<'_, Ep>, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Pinned<'_, Ep>, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Pinned<'_, Ep>, &mut Fd, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Pinned<'_, Ep>, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event, Pinned<'_, Ep>, Interest, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Event,), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, &mut Fd, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, &mut Fd, Event, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, &mut Fd, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, &mut Fd, Pinned<'_, Ep>, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Event, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Event, &mut Fd, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Event, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Event, Pinned<'_, Ep>, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Pinned<'_, Ep>), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Pinned<'_, Ep>, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Pinned<'_, Ep>, &mut Fd, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Pinned<'_, Ep>, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest, Pinned<'_, Ep>, Event, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Interest,), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, &mut Fd, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, &mut Fd, Event, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, &mut Fd, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, &mut Fd, Interest, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Event, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Event, &mut Fd, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Event, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Event, Interest, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Interest), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Interest, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Interest, &mut Fd, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Interest, Event), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>, Interest, Event, &mut Fd), F>
impl<Ep, Fd, F> Handler<Ep> for TriSubscriber<Fd, (Pinned<'_, Ep>,), F>
impl<Ep: EventpOps> Handler<Ep> for Subscriber<Ep>
Available on crate feature
remote-endpoint only.