Struct asyncio::SignalSet
[−]
[src]
pub struct SignalSet { /* fields omitted */ }
Provides a signal handing.
Methods
impl SignalSet
[src]
fn new(io: &IoService) -> Result<SignalSet>
fn add(&mut self, signal: Signal) -> Result<()>
fn async_wait<F>(&self, handler: F) -> F::Output where F: Handler<Signal>
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.