pub struct IoManager<Message>{ /* private fields */ }
Expand description
Root IO handler. Manages user handlers, messages and IO timers.
Implementations§
Trait Implementations§
source§impl<Message> Handler for IoManager<Message>
impl<Message> Handler for IoManager<Message>
source§fn timeout(&mut self, event_loop: &mut EventLoop<Self>, token: Token)
fn timeout(&mut self, event_loop: &mut EventLoop<Self>, token: Token)
👎Deprecated since 0.6.5: update to use
Poll
Invoked when a timeout has completed.
source§fn notify(&mut self, event_loop: &mut EventLoop<Self>, msg: Self::Message)
fn notify(&mut self, event_loop: &mut EventLoop<Self>, msg: Self::Message)
👎Deprecated since 0.6.5: update to use
Poll
Invoked when a message has been received via the event loop’s channel.
source§fn ready(
&mut self,
event_loop: &mut EventLoop<Self>,
token: Token,
events: Ready
)
fn ready( &mut self, event_loop: &mut EventLoop<Self>, token: Token, events: Ready )
👎Deprecated since 0.6.5: update to use
Poll
Invoked when the socket represented by
token
is ready to be operated
on. events
indicates the specific operations that are
ready to be performed. Read moresource§fn interrupted(&mut self, event_loop: &mut EventLoop<Self>)
fn interrupted(&mut self, event_loop: &mut EventLoop<Self>)
👎Deprecated since 0.6.5: update to use
Poll
Invoked when
EventLoop
has been interrupted by a signal interrupt.Auto Trait Implementations§
impl<Message> !RefUnwindSafe for IoManager<Message>
impl<Message> Send for IoManager<Message>
impl<Message> !Sync for IoManager<Message>
impl<Message> Unpin for IoManager<Message>
impl<Message> !UnwindSafe for IoManager<Message>
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