pub enum Due {
Retransmit {
exchange: ExchangeKey,
counter: u32,
},
Acknowledge {
exchange: ExchangeKey,
},
Abandoned {
exchange: ExchangeKey,
},
}Available on crate feature
rustcrypto only.Expand description
What a timer expiry asks the caller to do.
Variants§
Retransmit
Retransmit the message with this counter on this exchange (§4.12.2.1).
“Logical retransmission is of a given message as identified by its message counter”, so the caller resends the same bytes, not a re-encoding: a new counter would be a new message and would reuse a nonce.
Acknowledge
An acknowledgement has waited long enough for a message to ride on (§4.12.5.2.2).
Messaging::acknowledge writes it.
Fields
§
exchange: ExchangeKeyWhich exchange owes it.
Abandoned
MRP_MAX_TRANSMISSIONS passed with no acknowledgement; the exchange is closed.
Fields
§
exchange: ExchangeKeyWhich exchange was given up on.
Trait Implementations§
impl Copy for Due
impl Eq for Due
impl StructuralPartialEq for Due
Auto Trait Implementations§
impl Forget for Due
impl Freeze for Due
impl Move for Due
impl RefUnwindSafe for Due
impl Send for Due
impl Sync for Due
impl Unpin for Due
impl UnsafeUnpin for Due
impl UnwindSafe for Due
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