Struct asio::SignalSet [] [src]

pub struct SignalSet {
    // some fields omitted
}

Methods

impl SignalSet
[src]

fn new<T: IoObject>(io: &T) -> Result<SignalSet>

fn add(&mut self, signal: Signal) -> Result<()>

fn async_wait<F: Handler<Signal>>(&self, handler: F)

fn cancel(&self)

fn clear(&mut self) -> Result<()>

fn remove(&mut self, signal: Signal) -> Result<()>

fn wait(&self) -> Result<Signal>

Trait Implementations

impl IoObject for SignalSet
[src]

fn io_service(&self) -> &IoService

Returns a IoService associated with this object.

impl AsRawFd for SignalSet
[src]

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more

impl Drop for SignalSet
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more