#[repr(transparent)]pub struct uct_cb_flags(pub c_uint);Expand description
@ingroup UCT_RESOURCE @brief Callback flags.
List of flags for a callback.
Tuple Fields§
§0: c_uintImplementations§
Source§impl uct_cb_flags
impl uct_cb_flags
Sourcepub const UCT_CB_FLAG_RESERVED: uct_cb_flags
pub const UCT_CB_FLAG_RESERVED: uct_cb_flags
< Reserved for future use.
Source§impl uct_cb_flags
impl uct_cb_flags
Sourcepub const UCT_CB_FLAG_ASYNC: uct_cb_flags
pub const UCT_CB_FLAG_ASYNC: uct_cb_flags
< Callback is allowed to be called from any thread in the process, and therefore should be thread-safe. For example, it may be called from a transport async progress thread. To guarantee async invocation, the interface must have the @ref UCT_IFACE_FLAG_CB_ASYNC flag set. If async callback is requested on an interface which only supports sync callback (i.e., only the @ref UCT_IFACE_FLAG_CB_SYNC flag is set), the callback will be invoked only from the context that called @ref uct_iface_progress).
Trait Implementations§
Source§impl BitAnd for uct_cb_flags
impl BitAnd for uct_cb_flags
Source§impl BitAndAssign for uct_cb_flags
impl BitAndAssign for uct_cb_flags
Source§fn bitand_assign(&mut self, rhs: uct_cb_flags)
fn bitand_assign(&mut self, rhs: uct_cb_flags)
Performs the
&= operation. Read moreSource§impl BitOr for uct_cb_flags
impl BitOr for uct_cb_flags
Source§impl BitOrAssign for uct_cb_flags
impl BitOrAssign for uct_cb_flags
Source§fn bitor_assign(&mut self, rhs: uct_cb_flags)
fn bitor_assign(&mut self, rhs: uct_cb_flags)
Performs the
|= operation. Read moreSource§impl Clone for uct_cb_flags
impl Clone for uct_cb_flags
Source§fn clone(&self) -> uct_cb_flags
fn clone(&self) -> uct_cb_flags
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_cb_flags
impl Debug for uct_cb_flags
Source§impl Hash for uct_cb_flags
impl Hash for uct_cb_flags
Source§impl PartialEq for uct_cb_flags
impl PartialEq for uct_cb_flags
impl Copy for uct_cb_flags
impl Eq for uct_cb_flags
impl StructuralPartialEq for uct_cb_flags
Auto Trait Implementations§
impl Freeze for uct_cb_flags
impl RefUnwindSafe for uct_cb_flags
impl Send for uct_cb_flags
impl Sync for uct_cb_flags
impl Unpin for uct_cb_flags
impl UnwindSafe for uct_cb_flags
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