Expand description
Platform abstraction layer.
Selects the appropriate OS-level primitives at compile time and re-exports
them through a unified sys surface that the rest of the crate uses.
Supported targets:
- Linux → epoll (via
reactor::epoll) - macOS → kqueue (via
reactor::kqueue) - FreeBSD → kqueue (via
reactor::kqueue) - Windows → IOCP stub (via
reactor::iocp)
Re-exports§
pub use sys::close_fd;pub use sys::create_pipe;pub use sys::events_with_capacity;pub use sys::set_nonblocking;pub use sys::Event;pub use sys::Events;pub use sys::Interest;pub use sys::RawSource;
Modules§
- sys
- Platform-specific I/O primitives.