#[repr(C)]pub struct ucp_lib_attr {
pub field_mask: u64,
pub max_thread_level: ucs_thread_mode_t,
}Expand description
@ingroup UCP_CONTEXT @brief Lib attributes.
The structure defines the attributes that characterize the Library.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_lib_attr_field. Fields not specified in this mask will be ignored. Provides ABI compatibility with respect to adding new fields.
max_thread_level: ucs_thread_mode_tMaximum level of thread support of the library, which is permanent throughout the lifetime of the library. Accordingly, the user can call @ref ucp_worker_create with appropriate @ref ucp_worker_params_t.thread_mode. For supported thread levels please see @ref ucs_thread_mode_t.
Trait Implementations§
Source§impl Clone for ucp_lib_attr
impl Clone for ucp_lib_attr
Source§fn clone(&self) -> ucp_lib_attr
fn clone(&self) -> ucp_lib_attr
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_lib_attr
impl Debug for ucp_lib_attr
impl Copy for ucp_lib_attr
Auto Trait Implementations§
impl Freeze for ucp_lib_attr
impl RefUnwindSafe for ucp_lib_attr
impl Send for ucp_lib_attr
impl Sync for ucp_lib_attr
impl Unpin for ucp_lib_attr
impl UnwindSafe for ucp_lib_attr
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