[][src]Trait iou::registrar::UringFd

pub trait UringFd {
    fn as_raw_fd(&self) -> RawFd;
fn update_sqe(&self, sqe: &mut SQE<'_>); }

A file descriptor that can be used to prepare SQEs.

The standard library's RawFd type implements this trait, but so does RegisteredFd, a type which is returned when a user pre-registers file descriptors with an io-uring instance.

Required methods

fn as_raw_fd(&self) -> RawFd

fn update_sqe(&self, sqe: &mut SQE<'_>)

Loading content...

Implementations on Foreign Types

impl UringFd for RawFd[src]

Loading content...

Implementors

impl UringFd for RegisteredFd[src]

Loading content...