#[repr(C)]pub struct ucp_dt_iov {
pub buffer: *mut c_void,
pub length: size_t,
}Expand description
@ingroup UCP_DATATYPE @brief Structure for scatter-gather I/O.
This structure is used to specify a list of buffers which can be used within a single data transfer function call. This list should remain valid until the data transfer request is completed.
@note If @a length is zero, the memory pointed to by @a buffer will not be accessed. Otherwise, @a buffer must point to valid memory.
Fields§
§buffer: *mut c_void< Pointer to a data buffer
length: size_t< Length of the @a buffer in bytes
Trait Implementations§
Source§impl Clone for ucp_dt_iov
impl Clone for ucp_dt_iov
Source§fn clone(&self) -> ucp_dt_iov
fn clone(&self) -> ucp_dt_iov
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 ucp_dt_iov
impl Debug for ucp_dt_iov
impl Copy for ucp_dt_iov
Auto Trait Implementations§
impl Freeze for ucp_dt_iov
impl RefUnwindSafe for ucp_dt_iov
impl !Send for ucp_dt_iov
impl !Sync for ucp_dt_iov
impl Unpin for ucp_dt_iov
impl UnwindSafe for ucp_dt_iov
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