#[repr(C)]pub struct ucp_request_attr_t {
pub field_mask: u64,
pub debug_string: *mut c_char,
pub debug_string_size: size_t,
pub status: ucs_status_t,
pub mem_type: ucs_memory_type_t,
}Expand description
@ingroup UCP_COMM @brief Attributes of a particular request.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_req_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
debug_string: *mut c_charPointer to allocated string of size @ref debug_string_size that will be filled with debug information about transports and protocols that were selected to complete the request.
debug_string_size: size_tSize of the @ref debug_string. String will be filled up to this size. Maximum possible size debug string can be obtained by querying the worker via @ref ucp_worker_query.
status: ucs_status_tStatus of the request. The same as @ref ucp_request_check_status.
mem_type: ucs_memory_type_tDetected memory type of the buffer passed to the operation.
Trait Implementations§
Source§impl Clone for ucp_request_attr_t
impl Clone for ucp_request_attr_t
Source§fn clone(&self) -> ucp_request_attr_t
fn clone(&self) -> ucp_request_attr_t
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_request_attr_t
impl Debug for ucp_request_attr_t
impl Copy for ucp_request_attr_t
Auto Trait Implementations§
impl Freeze for ucp_request_attr_t
impl RefUnwindSafe for ucp_request_attr_t
impl !Send for ucp_request_attr_t
impl !Sync for ucp_request_attr_t
impl Unpin for ucp_request_attr_t
impl UnwindSafe for ucp_request_attr_t
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