pub struct AioControl {
pub aiocbp: NonNull<aiocb>,
pub submit: unsafe extern "C" fn(_: *mut aiocb) -> i32,
}
Available on
aio
only.Expand description
Meta of AIO operations.
Fields§
§aiocbp: NonNull<aiocb>
Pointer of the control block.
submit: unsafe extern "C" fn(_: *mut aiocb) -> i32
The aio_* submit function.
Trait Implementations§
Source§impl Clone for AioControl
impl Clone for AioControl
Source§fn clone(&self) -> AioControl
fn clone(&self) -> AioControl
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 AioControl
impl Debug for AioControl
impl Copy for AioControl
Auto Trait Implementations§
impl Freeze for AioControl
impl RefUnwindSafe for AioControl
impl !Send for AioControl
impl !Sync for AioControl
impl Unpin for AioControl
impl UnwindSafe for AioControl
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