Struct rustix::io_uring::io_uring_ptr
source · [−]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_void
The pointer value.
Trait Implementations
sourceimpl Clone for io_uring_ptr
impl Clone for io_uring_ptr
sourcefn clone(&self) -> io_uring_ptr
fn clone(&self) -> io_uring_ptr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for io_uring_ptr
impl Default for io_uring_ptr
sourceimpl From<*mut c_void> for io_uring_ptr
impl From<*mut c_void> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more