#[repr(C)]pub struct IoControlBlock {
pub aio_data: c_ulonglong,
pub aio_key: c_uint,
pub aio_reserved1: c_uint,
pub aio_lio_opcode: c_ushort,
pub aio_reqprio: c_short,
pub aio_fildes: c_uint,
pub aio_buf: c_ulonglong,
pub aio_nbytes: c_ulonglong,
pub aio_offset: c_longlong,
pub aio_reserved2: c_ulonglong,
pub aio_flags: c_uint,
pub aio_resfd: c_uint,
}
Expand description
Wrapper over the iocb
structure.
Fields§
§aio_data: c_ulonglong
§aio_key: c_uint
§aio_reserved1: c_uint
§aio_lio_opcode: c_ushort
§aio_reqprio: c_short
§aio_fildes: c_uint
§aio_buf: c_ulonglong
§aio_nbytes: c_ulonglong
§aio_offset: c_longlong
§aio_reserved2: c_ulonglong
§aio_flags: c_uint
§aio_resfd: c_uint
Trait Implementations§
Source§impl Clone for IoControlBlock
impl Clone for IoControlBlock
Source§fn clone(&self) -> IoControlBlock
fn clone(&self) -> IoControlBlock
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IoControlBlock
impl Debug for IoControlBlock
Source§impl Default for IoControlBlock
impl Default for IoControlBlock
Source§fn default() -> IoControlBlock
fn default() -> IoControlBlock
Returns the “default value” for a type. Read more
impl Copy for IoControlBlock
Auto Trait Implementations§
impl Freeze for IoControlBlock
impl RefUnwindSafe for IoControlBlock
impl Send for IoControlBlock
impl Sync for IoControlBlock
impl Unpin for IoControlBlock
impl UnwindSafe for IoControlBlock
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