Struct nc::types::iocb_t[][src]

#[repr(C)]
pub struct iocb_t { pub aio_data: u64, pub aio_key: u32, pub aio_rw_flags: rwf_t, pub aio_lio_opcode: u16, pub aio_reqprio: i16, pub aio_fildes: u32, pub aio_buf: u64, pub aio_nbytes: u64, pub aio_offset: i64, pub aio_reserved2: u64, pub aio_flags: u32, pub aio_resfd: u32, }
Expand description

we always use a 64bit off_t when communicating with userland. its up to libraries to do the proper padding and aio_error abstraction

Fields

aio_data: u64

these are internal to the kernel/libc. data to be returned in event’s data */

aio_key: u32

the kernel sets aio_key to the req #

aio_rw_flags: rwf_t

RWF_* flags

aio_lio_opcode: u16

common fields

aio_reqprio: i16aio_fildes: u32aio_buf: u64aio_nbytes: u64aio_offset: i64aio_reserved2: u64

extra parameters

aio_flags: u32

flags for the “struct iocb”

aio_resfd: u32

If the IOCB_FLAG_RESFD flag of “aio_flags” is set, this is an eventfd to signal AIO readiness to

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.