Trait mioco::EventedImpl
[−]
[src]
pub trait EventedImpl { type Raw: EventSourceTrait + 'static; fn shared(&self) -> &RcEventSource<Self::Raw>; }
Utility trait that simplifies implementing Evented
If it's just a simple wrapper over EventSourceTrait
Associated Types
type Raw: EventSourceTrait + 'static
Raw IO type wrapped by this EventImpl
Required Methods
Get the wrapped io
Implementors
impl<T> EventedImpl for Receiver<T> where
T: 'static,impl EventedImpl for Timer
impl<MT> EventedImpl for MioAdapter<MT> where
MT: Evented + 'static,