#[repr(transparent)]pub struct ucp_ep_close_flags_t(pub c_uint);Expand description
@ingroup UCP_ENDPOINT @brief Close UCP endpoint modes.
The enumeration is used to specify the behavior of @ref ucp_ep_close_nbx.
Tuple Fields§
§0: c_uintImplementations§
Source§impl ucp_ep_close_flags_t
impl ucp_ep_close_flags_t
Sourcepub const UCP_EP_CLOSE_FLAG_FORCE: ucp_ep_close_flags_t
pub const UCP_EP_CLOSE_FLAG_FORCE: ucp_ep_close_flags_t
< @ref ucp_ep_close_nbx releases the endpoint without any confirmation from the peer. All outstanding requests will be completed with @ref UCS_ERR_CANCELED error. @note This mode may cause transport level errors on remote side, so it requires set @ref UCP_ERR_HANDLING_MODE_PEER for all endpoints created on both (local and remote) sides to avoid undefined behavior. If this flag is not set then @ref ucp_ep_close_nbx schedules flushes on all outstanding operations. @note this flag is incompatible with @ref UCP_OP_ATTR_FLAG_NO_IMM_CMPL, since it forces immediate completion.
Trait Implementations§
Source§impl BitAnd for ucp_ep_close_flags_t
impl BitAnd for ucp_ep_close_flags_t
Source§impl BitAndAssign for ucp_ep_close_flags_t
impl BitAndAssign for ucp_ep_close_flags_t
Source§fn bitand_assign(&mut self, rhs: ucp_ep_close_flags_t)
fn bitand_assign(&mut self, rhs: ucp_ep_close_flags_t)
Performs the
&= operation. Read moreSource§impl BitOr for ucp_ep_close_flags_t
impl BitOr for ucp_ep_close_flags_t
Source§impl BitOrAssign for ucp_ep_close_flags_t
impl BitOrAssign for ucp_ep_close_flags_t
Source§fn bitor_assign(&mut self, rhs: ucp_ep_close_flags_t)
fn bitor_assign(&mut self, rhs: ucp_ep_close_flags_t)
Performs the
|= operation. Read moreSource§impl Clone for ucp_ep_close_flags_t
impl Clone for ucp_ep_close_flags_t
Source§fn clone(&self) -> ucp_ep_close_flags_t
fn clone(&self) -> ucp_ep_close_flags_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_ep_close_flags_t
impl Debug for ucp_ep_close_flags_t
Source§impl Hash for ucp_ep_close_flags_t
impl Hash for ucp_ep_close_flags_t
Source§impl PartialEq for ucp_ep_close_flags_t
impl PartialEq for ucp_ep_close_flags_t
impl Copy for ucp_ep_close_flags_t
impl Eq for ucp_ep_close_flags_t
impl StructuralPartialEq for ucp_ep_close_flags_t
Auto Trait Implementations§
impl Freeze for ucp_ep_close_flags_t
impl RefUnwindSafe for ucp_ep_close_flags_t
impl Send for ucp_ep_close_flags_t
impl Sync for ucp_ep_close_flags_t
impl Unpin for ucp_ep_close_flags_t
impl UnwindSafe for ucp_ep_close_flags_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