pub enum Backend {
Auto,
Epoll,
IoUring,
Iocp,
Kqueue,
}Expand description
Which I/O back end a driver uses.
Variants§
Auto
Pick for this OS: epoll on Linux (io_uring when SIMOOM_BACKEND=io_uring is set), IOCP
on Windows, kqueue on macOS and BSD.
Epoll
Linux epoll, edge-triggered.
IoUring
Linux io_uring (6.1+). Falls back to epoll when the kernel refuses it.
Iocp
Windows I/O completion ports.
Kqueue
macOS and BSD kqueue.
Implementations§
Trait Implementations§
impl Copy for Backend
impl Eq for Backend
impl StructuralPartialEq for Backend
Auto Trait Implementations§
impl Forget for Backend
impl Freeze for Backend
impl Move for Backend
impl RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin 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