Struct async_rdma::QueuePairEndpoint
source · pub struct QueuePairEndpoint { /* private fields */ }
Expand description
Queue pair information used to establish connection.
Implementations§
source§impl QueuePairEndpoint
impl QueuePairEndpoint
sourcepub fn qp_num(&self) -> &u32
pub fn qp_num(&self) -> &u32
A 24 bits value of the QP number of RC and UC QPs; when sending data, packets will be sent to this QP number and when receiving data, packets will be accepted only from this QP number
sourcepub fn lid(&self) -> &u16
pub fn lid(&self) -> &u16
A 16 bit address assigned to end nodes by the subnet manager.Each LID is unique within its subnet.
sourcepub fn gid(&self) -> &Gid
pub fn gid(&self) -> &Gid
A 128-bit identifier used to identify a Port on a network adapter, a port on a Router, or a Multicast Group.
A GID is a valid 128-bit IPv6 address (per RFC 2373) with additional properties / restrictions defined within IBA to facilitate efficient discovery, communication, and routing.
Trait Implementations§
source§impl Clone for QueuePairEndpoint
impl Clone for QueuePairEndpoint
source§fn clone(&self) -> QueuePairEndpoint
fn clone(&self) -> QueuePairEndpoint
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 QueuePairEndpoint
impl Debug for QueuePairEndpoint
source§impl<'de> Deserialize<'de> for QueuePairEndpoint
impl<'de> Deserialize<'de> for QueuePairEndpoint
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<QueuePairEndpoint> for QueuePairEndpoint
impl PartialEq<QueuePairEndpoint> for QueuePairEndpoint
source§fn eq(&self, other: &QueuePairEndpoint) -> bool
fn eq(&self, other: &QueuePairEndpoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.