[−][src]Struct ethox_io_uring::RawRing
Methods
impl RawRing
[src]
pub fn from_fd(fd: c_int) -> Result<Self, Error>
[src]
pub fn from_ring(io_ring: IoUring, fd: c_int) -> Self
[src]
pub fn flush_and_reap(&mut self) -> Result<usize>
[src]
Trait Implementations
impl Device for RawRing
[src]
type Payload = PacketBuf
The payload buffer type of this device. Read more
type Handle = Handle
The control handle type also providing packet meta information.
fn personality(&self) -> Personality
[src]
fn rx(
&mut self,
max: usize,
receiver: impl Recv<Handle, PacketBuf>
) -> Result<usize>
[src]
&mut self,
max: usize,
receiver: impl Recv<Handle, PacketBuf>
) -> Result<usize>
fn tx(
&mut self,
max: usize,
sender: impl Send<Handle, PacketBuf>
) -> Result<usize>
[src]
&mut self,
max: usize,
sender: impl Send<Handle, PacketBuf>
) -> Result<usize>
impl Drop for RawRing
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RawRing
impl !Send for RawRing
impl !Sync for RawRing
impl Unpin for RawRing
impl !UnwindSafe for RawRing
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,