Skip to main content

Module engine

Module engine 

Source
Expand description

I/O engine abstraction.

Rust implementation of ClusterShell.Engine.

The Python version has EPoll, Poll, and Select backends. In Rust we will likely use a single backend (mio or polling crate).

Structs§

ClientId
Engine
The main I/O event loop engine.
EngineBaseTimer
Base timer structure with fire delay, interval, and autoclose settings.
EngineTimer
Concrete timer with a callback handler.
NullBackend
A no-op polling backend that never returns events.
TimerId
TimerQueue
Timer queue managing a set of timers using a BinaryHeap.

Enums§

EngineError
Error types for the Engine module

Constants§

EPSILON
Time epsilon for floating point comparisons
E_READ
Read event flag
E_WRITE
Write event flag
FANOUT_UNLIMITED
Unlimited fanout value

Traits§

EngineClient
Trait for objects that can be managed by the Engine.
PollBackend
Trait for I/O polling backends.