Crate crossio_core

Crate crossio_core 

Source
Expand description

Core abstractions shared by every crossio backend.

Re-exports§

pub use backend::Backend;
pub use config::BackendConfig;
pub use error::CrossioError;
pub use event::Event;
pub use event::Events;
pub use interest::Interest;
pub use poller::Reactor;
pub use registration::Registration;
pub use registration::Source;
pub use token::Token;
pub use timer::TimerId;
pub use timer::TimerQueue;

Modules§

backend
Trait definitions shared by every backend implementation.
config
Backend configuration knobs shared across platforms.
error
Error types surfaced by the crossio core crate.
event
Event types produced by backends when sources become ready.
interest
Readiness interests that can be registered with a backend.
poller
Public reactor abstraction that delegates to a backend implementation.
registration
Registration helpers and traits for reactor sources.
timer
A small, in-memory timer queue used by reactors and runtimes to track upcoming wakeups. It stays backend-agnostic so every platform can share the same scheduling logic.
token
Tokens uniquely identify registered sources within a reactor.