pub enum Backend {
IoUring,
Epoll,
Stub,
}Expand description
Available runtime backends for IO operations.
Variants§
IoUring
High-performance io_uring backend (Linux 5.1+)
Epoll
Traditional epoll-based backend (all Linux)
Stub
Stub implementation for non-Linux platforms
Implementations§
Source§impl Backend
impl Backend
Sourcepub fn description(&self) -> &'static str
pub fn description(&self) -> &'static str
Get a human-readable description of the backend.
Sourcepub fn supports_advanced_features(&self) -> bool
pub fn supports_advanced_features(&self) -> bool
Check if this backend supports advanced features.
Sourcepub fn performance_multiplier(&self) -> f32
pub fn performance_multiplier(&self) -> f32
Get expected performance multiplier compared to epoll baseline.
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Freeze for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnwindSafe for Backend
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more