Trait mio::Evented
[−]
[src]
pub trait Evented { fn register(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>; fn reregister(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>; fn deregister(&self, poll: &Poll) -> Result<()>; }
A value that may be registered with an EventLoop
Required Methods
fn register(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn reregister(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn deregister(&self, poll: &Poll) -> Result<()>
Implementors
impl Evented for TcpStream
impl Evented for TcpListener
impl Evented for UdpSocket
impl<'a> Evented for EventedFd<'a>
impl Evented for Io
impl<T> Evented for Receiver<T>
impl Evented for ReceiverCtl
impl<T> Evented for Timer<T>
impl Evented for UnixSocket
impl Evented for UnixStream
impl Evented for UnixListener
impl Evented for PipeReader
impl Evented for PipeWriter