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
consumertype of the timer which consumes the intance and returns it when timer triggers. Theconsumedinstance 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
signalsender. Calls the specified callback which must never block the executing thread. - timer_
tickets - A
ticketissuer. Issues a ticket which should be assigned to the instance whcih was added to the timer’s queue. Theticketcan 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.