pub struct QueuePairEndpoint {
pub num: u32,
pub lid: u16,
}Expand description
The addressing information required to connect to a specific Queue Pair.
This struct contains the Local Identifier (LID) and Queue Pair Number (QPN). You must send this information to the remote peer so they can connect their QP to this one.
Fields§
§num: u32Queue Pair Number (QPN) — the 24-bit hardware identifier for this queue pair.
lid: u16Local Identifier (LID) — the 16-bit subnet address of the port this QP is on.
Trait Implementations§
Source§impl Clone for QueuePairEndpoint
impl Clone for QueuePairEndpoint
Source§fn clone(&self) -> QueuePairEndpoint
fn clone(&self) -> QueuePairEndpoint
Returns a duplicate 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§impl Serialize for QueuePairEndpoint
impl Serialize for QueuePairEndpoint
impl Copy for QueuePairEndpoint
impl Eq for QueuePairEndpoint
impl StructuralPartialEq for QueuePairEndpoint
Auto Trait Implementations§
impl Freeze for QueuePairEndpoint
impl RefUnwindSafe for QueuePairEndpoint
impl Send for QueuePairEndpoint
impl Sync for QueuePairEndpoint
impl Unpin for QueuePairEndpoint
impl UnsafeUnpin 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