Struct mai::EngineHandle
[−]
[src]
pub struct EngineHandle<'handle, P: ?Sized> where
P: 'handle + Protocol, { /* fields omitted */ }
Methods
impl<'handle, P: ?Sized> EngineHandle<'handle, P> where
P: 'handle + Protocol,
[src]
P: 'handle + Protocol,
fn new<'a>(
event_loop: &'a mut EventLoop<ProtocolEngine<P>>,
command_sender: &'a mut MioSender<Command<P>>
) -> EngineHandle<'a, P>
event_loop: &'a mut EventLoop<ProtocolEngine<P>>,
command_sender: &'a mut MioSender<Command<P>>
) -> EngineHandle<'a, P>
fn timeout_ms(
&mut self,
timeout_token: P::Timeout,
milliseconds: u64
) -> TimerResult<Timeout>
&mut self,
timeout_token: P::Timeout,
milliseconds: u64
) -> TimerResult<Timeout>
fn clear_timeout(&mut self, timeout_token: Timeout) -> bool
fn send(
&mut self,
token: Token,
frame: P::Frame
) -> Result<(), NotifyError<Command<P>>>
&mut self,
token: Token,
frame: P::Frame
) -> Result<(), NotifyError<Command<P>>>