Struct uct_iface_ops

Source
#[repr(C)]
pub struct uct_iface_ops {
Show 50 fields pub ep_put_short: uct_ep_put_short_func_t, pub ep_put_bcopy: uct_ep_put_bcopy_func_t, pub ep_put_zcopy: uct_ep_put_zcopy_func_t, pub ep_get_short: uct_ep_get_short_func_t, pub ep_get_bcopy: uct_ep_get_bcopy_func_t, pub ep_get_zcopy: uct_ep_get_zcopy_func_t, pub ep_am_short: uct_ep_am_short_func_t, pub ep_am_short_iov: uct_ep_am_short_iov_func_t, pub ep_am_bcopy: uct_ep_am_bcopy_func_t, pub ep_am_zcopy: uct_ep_am_zcopy_func_t, pub ep_atomic_cswap64: uct_ep_atomic_cswap64_func_t, pub ep_atomic_cswap32: uct_ep_atomic_cswap32_func_t, pub ep_atomic32_post: uct_ep_atomic32_post_func_t, pub ep_atomic64_post: uct_ep_atomic64_post_func_t, pub ep_atomic32_fetch: uct_ep_atomic32_fetch_func_t, pub ep_atomic64_fetch: uct_ep_atomic64_fetch_func_t, pub ep_tag_eager_short: uct_ep_tag_eager_short_func_t, pub ep_tag_eager_bcopy: uct_ep_tag_eager_bcopy_func_t, pub ep_tag_eager_zcopy: uct_ep_tag_eager_zcopy_func_t, pub ep_tag_rndv_zcopy: uct_ep_tag_rndv_zcopy_func_t, pub ep_tag_rndv_cancel: uct_ep_tag_rndv_cancel_func_t, pub ep_tag_rndv_request: uct_ep_tag_rndv_request_func_t, pub iface_tag_recv_zcopy: uct_iface_tag_recv_zcopy_func_t, pub iface_tag_recv_cancel: uct_iface_tag_recv_cancel_func_t, pub ep_pending_add: uct_ep_pending_add_func_t, pub ep_pending_purge: uct_ep_pending_purge_func_t, pub ep_flush: uct_ep_flush_func_t, pub ep_fence: uct_ep_fence_func_t, pub ep_check: uct_ep_check_func_t, pub ep_create: uct_ep_create_func_t, pub ep_connect: uct_ep_connect_func_t, pub ep_disconnect: uct_ep_disconnect_func_t, pub cm_ep_conn_notify: uct_cm_ep_conn_notify_func_t, pub ep_destroy: uct_ep_destroy_func_t, pub ep_get_address: uct_ep_get_address_func_t, pub ep_connect_to_ep: uct_ep_connect_to_ep_func_t, pub iface_accept: uct_iface_accept_func_t, pub iface_reject: uct_iface_reject_func_t, pub iface_flush: uct_iface_flush_func_t, pub iface_fence: uct_iface_fence_func_t, pub iface_progress_enable: uct_iface_progress_enable_func_t, pub iface_progress_disable: uct_iface_progress_disable_func_t, pub iface_progress: uct_iface_progress_func_t, pub iface_event_fd_get: uct_iface_event_fd_get_func_t, pub iface_event_arm: uct_iface_event_arm_func_t, pub iface_close: uct_iface_close_func_t, pub iface_query: uct_iface_query_func_t, pub iface_get_device_address: uct_iface_get_device_address_func_t, pub iface_get_address: uct_iface_get_address_func_t, pub iface_is_reachable: uct_iface_is_reachable_func_t,
}
Expand description

Transport interface operations. Every operation exposed in the API must appear in the table below, to allow creating interface/endpoint with custom operations.

Fields§

§ep_put_short: uct_ep_put_short_func_t§ep_put_bcopy: uct_ep_put_bcopy_func_t§ep_put_zcopy: uct_ep_put_zcopy_func_t§ep_get_short: uct_ep_get_short_func_t§ep_get_bcopy: uct_ep_get_bcopy_func_t§ep_get_zcopy: uct_ep_get_zcopy_func_t§ep_am_short: uct_ep_am_short_func_t§ep_am_short_iov: uct_ep_am_short_iov_func_t§ep_am_bcopy: uct_ep_am_bcopy_func_t§ep_am_zcopy: uct_ep_am_zcopy_func_t§ep_atomic_cswap64: uct_ep_atomic_cswap64_func_t§ep_atomic_cswap32: uct_ep_atomic_cswap32_func_t§ep_atomic32_post: uct_ep_atomic32_post_func_t§ep_atomic64_post: uct_ep_atomic64_post_func_t§ep_atomic32_fetch: uct_ep_atomic32_fetch_func_t§ep_atomic64_fetch: uct_ep_atomic64_fetch_func_t§ep_tag_eager_short: uct_ep_tag_eager_short_func_t§ep_tag_eager_bcopy: uct_ep_tag_eager_bcopy_func_t§ep_tag_eager_zcopy: uct_ep_tag_eager_zcopy_func_t§ep_tag_rndv_zcopy: uct_ep_tag_rndv_zcopy_func_t§ep_tag_rndv_cancel: uct_ep_tag_rndv_cancel_func_t§ep_tag_rndv_request: uct_ep_tag_rndv_request_func_t§iface_tag_recv_zcopy: uct_iface_tag_recv_zcopy_func_t§iface_tag_recv_cancel: uct_iface_tag_recv_cancel_func_t§ep_pending_add: uct_ep_pending_add_func_t§ep_pending_purge: uct_ep_pending_purge_func_t§ep_flush: uct_ep_flush_func_t§ep_fence: uct_ep_fence_func_t§ep_check: uct_ep_check_func_t§ep_create: uct_ep_create_func_t§ep_connect: uct_ep_connect_func_t§ep_disconnect: uct_ep_disconnect_func_t§cm_ep_conn_notify: uct_cm_ep_conn_notify_func_t§ep_destroy: uct_ep_destroy_func_t§ep_get_address: uct_ep_get_address_func_t§ep_connect_to_ep: uct_ep_connect_to_ep_func_t§iface_accept: uct_iface_accept_func_t§iface_reject: uct_iface_reject_func_t§iface_flush: uct_iface_flush_func_t§iface_fence: uct_iface_fence_func_t§iface_progress_enable: uct_iface_progress_enable_func_t§iface_progress_disable: uct_iface_progress_disable_func_t§iface_progress: uct_iface_progress_func_t§iface_event_fd_get: uct_iface_event_fd_get_func_t§iface_event_arm: uct_iface_event_arm_func_t§iface_close: uct_iface_close_func_t§iface_query: uct_iface_query_func_t§iface_get_device_address: uct_iface_get_device_address_func_t§iface_get_address: uct_iface_get_address_func_t§iface_is_reachable: uct_iface_is_reachable_func_t

Trait Implementations§

Source§

impl Clone for uct_iface_ops

Source§

fn clone(&self) -> uct_iface_ops

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for uct_iface_ops

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for uct_iface_ops

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.