pub struct MinRnrTimer(/* private fields */);Expand description
Minimum RNR NAK Timer Field Value.
When an incoming message arrives but no Receive WQE is posted, the QP sends an RNR NAK (Receiver Not Ready) to the sender. This timer tells the sender how long to wait before retrying.
See RDMAMojo for details.
Implementations§
Source§impl MinRnrTimer
impl MinRnrTimer
Sourcepub const fn limited(code: u8) -> Option<Self>
pub const fn limited(code: u8) -> Option<Self>
Creates a timer from a raw 5-bit code (1-31). Returns None if out of range.
Sourcepub fn min_duration_greater_than(timeout: Duration) -> Self
pub fn min_duration_greater_than(timeout: Duration) -> Self
Finds the smallest RNR timer code that represents a duration greater than timeout.
Trait Implementations§
Source§impl Clone for MinRnrTimer
impl Clone for MinRnrTimer
Source§fn clone(&self) -> MinRnrTimer
fn clone(&self) -> MinRnrTimer
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 MinRnrTimer
impl Debug for MinRnrTimer
Source§impl Default for MinRnrTimer
impl Default for MinRnrTimer
Source§fn default() -> MinRnrTimer
fn default() -> MinRnrTimer
Returns the “default value” for a type. Read more
impl Copy for MinRnrTimer
Auto Trait Implementations§
impl Freeze for MinRnrTimer
impl RefUnwindSafe for MinRnrTimer
impl Send for MinRnrTimer
impl Sync for MinRnrTimer
impl Unpin for MinRnrTimer
impl UnsafeUnpin for MinRnrTimer
impl UnwindSafe for MinRnrTimer
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