Struct ibverbs::QueuePairEndpoint
source · pub struct QueuePairEndpoint {
pub num: u32,
pub lid: u16,
pub gid: Option<Gid>,
}
Expand description
An identifier for the network endpoint of a QueuePair
.
Internally, this contains the QueuePair
’s qp_num
, as well as the context’s lid
and gid
.
Fields§
§num: u32
the QueuePair
’s qp_num
lid: u16
the context’s lid
gid: Option<Gid>
the context’s gid
, used for global 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 for QueuePairEndpoint
impl PartialEq 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 ==
.source§impl Serialize for QueuePairEndpoint
impl Serialize for QueuePairEndpoint
impl Copy for QueuePairEndpoint
impl Eq for QueuePairEndpoint
impl StructuralPartialEq for QueuePairEndpoint
Auto Trait Implementations§
impl RefUnwindSafe for QueuePairEndpoint
impl Send for QueuePairEndpoint
impl Sync for QueuePairEndpoint
impl Unpin for QueuePairEndpoint
impl UnwindSafe for QueuePairEndpoint
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