#[repr(C)]pub struct uct_listener_params {
pub field_mask: u64,
pub backlog: c_int,
pub conn_request_cb: uct_cm_listener_conn_request_callback_t,
pub user_data: *mut c_void,
}Expand description
@ingroup UCT_CLIENT_SERVER @brief Parameters for creating a listener object @ref uct_listener_h by @ref uct_listener_create
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref uct_listener_params_field. Fields not specified by this mask will be ignored.
backlog: c_intBacklog of incoming connection requests. If specified, must be a positive value. If not specified, each CM component will use its maximal allowed value, based on the system’s setting.
conn_request_cb: uct_cm_listener_conn_request_callback_tCallback function for handling incoming connection requests.
user_data: *mut c_voidUser data associated with the listener.
Trait Implementations§
Source§impl Clone for uct_listener_params
impl Clone for uct_listener_params
Source§fn clone(&self) -> uct_listener_params
fn clone(&self) -> uct_listener_params
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 uct_listener_params
impl Debug for uct_listener_params
impl Copy for uct_listener_params
Auto Trait Implementations§
impl Freeze for uct_listener_params
impl RefUnwindSafe for uct_listener_params
impl !Send for uct_listener_params
impl !Sync for uct_listener_params
impl Unpin for uct_listener_params
impl UnwindSafe for uct_listener_params
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