Struct rustix::io_uring::io_uring_ptr
source · #[repr(C)]pub struct io_uring_ptr {
pub ptr: *mut c_void,
}Available on crate feature
io_uring only.Expand description
A pointer in the io_uring API.
io_uring’s native API represents pointers as u64 values. In order to
preserve strict-provenance, use a *mut c_void. On platforms where
pointers are narrower than 64 bits, this requires additional padding.
Fields§
§ptr: *mut c_voidThe pointer value.
Trait Implementations§
source§impl Clone for io_uring_ptr
impl Clone for io_uring_ptr
source§fn clone(&self) -> io_uring_ptr
fn clone(&self) -> io_uring_ptr
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 Default for io_uring_ptr
impl Default for io_uring_ptr
impl Copy for io_uring_ptr
Auto Trait Implementations§
impl RefUnwindSafe for io_uring_ptr
impl !Send for io_uring_ptr
impl !Sync for io_uring_ptr
impl Unpin for io_uring_ptr
impl UnwindSafe for io_uring_ptr
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