Crate timer_deque_rs

Crate timer_deque_rs 

Source

Re-exports§

pub extern crate bitflags;
pub extern crate chrono;
pub extern crate nix;
pub extern crate rand;
pub use crate::timer::OrderedTimerDeque;
pub use crate::timer_consumer::TimerDequeueConsumer;
pub use crate::timer_signal::TimerDequeueSignal;
pub use crate::timer_signal::TimerDequeueSignalTicket;
pub use crate::timer_tickets::TimerDequeueTicketIssuer;
pub use crate::timer_tickets::TimerDequeueTicket;
pub use crate::timer_tickets::TimerDequeueId;
pub use crate::timer_portable::TimerReadRes;

Modules§

common
Common things.
error
Crates error handling.
timer
A base implementation of the sorted timer queue.
timer_consumer
A consumer type of the timer which consumes the intance and returns it when timer triggers. The consumed instance normally whould be Send because it will be moved into the timer.
timer_portable
All code which should be ported to the specific OS. Contains a system timer implementation and poll.
timer_signal
A signal sender. Calls the specified callback which must never block the executing thread.
timer_tickets
A ticket issuer. Issues a ticket which should be assigned to the instance whcih was added to the timer’s queue. The ticket can be used to remove the item from queue before the timeout event. If ticket is dropped i.e connection closed, the ticket will be in timer’s queue until timeout where it will be ignored on timeout event.

Macros§

map_portable_err
map_timer_err
portable_err
timer_err