Enum async_rdma::QueuePairState
source · #[repr(u32)]
pub enum QueuePairState {
Reset,
Init,
ReadyToRecv,
ReadyToSend,
SQDrain,
SQErr,
Err,
Unknown,
}
Expand description
The state of qp
Variants§
Reset
IBV_QPS_RESET - Reset state
Init
IBV_QPS_INIT - Initialized state
ReadyToRecv
IBV_QPS_RTR - Ready To Receive state
ReadyToSend
IBV_QPS_RTS - Ready To Send state
SQDrain
IBV_QPS_SQD - Send Queue Drain state
SQErr
IBV_QPS_SQE - Send Queue Error state
Err
IBV_QPS_ERR - Error state
Unknown
IBV_QPS_UNKNOWN - Unknown state
Trait Implementations§
source§impl Clone for QueuePairState
impl Clone for QueuePairState
source§fn clone(&self) -> QueuePairState
fn clone(&self) -> QueuePairState
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 QueuePairState
impl Debug for QueuePairState
source§impl From<u32> for QueuePairState
impl From<u32> for QueuePairState
source§impl PartialEq<QueuePairState> for QueuePairState
impl PartialEq<QueuePairState> for QueuePairState
source§fn eq(&self, other: &QueuePairState) -> bool
fn eq(&self, other: &QueuePairState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.