Struct utp2::UtpListener
[−]
[src]
pub struct UtpListener { /* fields omitted */ }
Methods
impl UtpListener
[src]
fn accept(&self) -> Result<UtpStream>
Receive a new inbound connection.
This function will also advance the state of all associated connections.
Trait Implementations
impl Drop for UtpListener
[src]
impl Evented for UtpListener
[src]
fn register(
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
Register self
with the given Poll
instance. Read more
fn reregister(
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt
) -> Result<()>
Re-register self
with the given Poll
instance. Read more
fn deregister(&self, poll: &Poll) -> Result<()>
Deregister self
from the given Poll
instance Read more