#[repr(C)]pub struct ucp_stream_poll_ep {
pub ep: ucp_ep_h,
pub user_data: *mut c_void,
pub flags: c_uint,
pub reserved: [u8; 16],
}Expand description
@ingroup UCP_ENDPOINT @brief Output parameter of @ref ucp_stream_worker_poll function.
The structure defines the endpoint and its user data.
Fields§
§ep: ucp_ep_hEndpoint handle.
user_data: *mut c_voidUser data associated with an endpoint passed in @ref ucp_ep_params_t::user_data.
flags: c_uintReserved for future use.
reserved: [u8; 16]Reserved for future use.
Trait Implementations§
Source§impl Clone for ucp_stream_poll_ep
impl Clone for ucp_stream_poll_ep
Source§fn clone(&self) -> ucp_stream_poll_ep
fn clone(&self) -> ucp_stream_poll_ep
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_stream_poll_ep
impl Debug for ucp_stream_poll_ep
impl Copy for ucp_stream_poll_ep
Auto Trait Implementations§
impl Freeze for ucp_stream_poll_ep
impl RefUnwindSafe for ucp_stream_poll_ep
impl !Send for ucp_stream_poll_ep
impl !Sync for ucp_stream_poll_ep
impl Unpin for ucp_stream_poll_ep
impl UnwindSafe for ucp_stream_poll_ep
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