pub struct IoUringIo { /* private fields */ }Expand description
A DataPlaneIo backend that submits Read/Write ops on a connected UDP
socket through an io_uring ring.
Implementations§
Trait Implementations§
Source§impl DataPlaneIo for IoUringIo
impl DataPlaneIo for IoUringIo
Source§fn backend(&self) -> Backend
fn backend(&self) -> Backend
The backend actually selected at startup (after probing/fallback).
Source§fn recv(&mut self, buf: &mut [u8]) -> Result<usize>
fn recv(&mut self, buf: &mut [u8]) -> Result<usize>
Receive one datagram into
buf, returning its length.Auto Trait Implementations§
impl Freeze for IoUringIo
impl RefUnwindSafe for IoUringIo
impl Send for IoUringIo
impl Sync for IoUringIo
impl Unpin for IoUringIo
impl UnsafeUnpin for IoUringIo
impl UnwindSafe for IoUringIo
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