Struct io_uring::opcode::OpenAt2[][src]

pub struct OpenAt2 { /* fields omitted */ }

Open a file, equivalent to openat2(2).

Implementations

impl OpenAt2[src]

pub fn new(
    dirfd: impl UseFd,
    pathname: *const c_char,
    how: *const OpenHow
) -> Self
[src]

pub const CODE: u8[src]

The opcode of the operation. This can be passed to Probe::is_supported to check if this operation is supported with the current kernel.

pub fn build(self) -> Entry[src]

Auto Trait Implementations

impl RefUnwindSafe for OpenAt2

impl !Send for OpenAt2

impl !Sync for OpenAt2

impl Unpin for OpenAt2

impl UnwindSafe for OpenAt2

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.