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§
- Client
Id - Engine
- The main I/O event loop engine.
- Engine
Base Timer - Base timer structure with fire delay, interval, and autoclose settings.
- Engine
Timer - Concrete timer with a callback handler.
- Null
Backend - A no-op polling backend that never returns events.
- TimerId
- Timer
Queue - Timer queue managing a set of timers using a BinaryHeap.
Enums§
- Engine
Error - 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§
- Engine
Client - Trait for objects that can be managed by the Engine.
- Poll
Backend - Trait for I/O polling backends.