Struct async_timer::timer::PosixTimer [−][src]
pub struct PosixTimer { /* fields omitted */ }
Expand description
Posix Timer
When using c_wrapper
feature implementation uses C shim to create timers which call callbacks
from a separate thread.
Without it, callback is called from signal handler which limits usable operations within the callback.
Implementations
Trait Implementations
Returns whether timer is ongoing. Read more
Returns whether timer has expired.
Restarts timer with new timeout value and waker.
Auto Trait Implementations
impl !RefUnwindSafe for PosixTimer
impl Send for PosixTimer
impl Sync for PosixTimer
impl Unpin for PosixTimer
impl UnwindSafe for PosixTimer
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.