pub enum AckOutcome {
Advanced {
new_base: u8,
rtt: Option<Duration>,
all_acked: bool,
},
OutOfWindow {
base: u8,
next_seq: u8,
},
}Expand description
Outcome of processing an acknowledgment sequence number in the sender.
Variants§
Advanced
The ACK fell within the active window [base, next_seq) and advanced base.
Fields
OutOfWindow
The ACK sequence fell outside the active window and was ignored.
Trait Implementations§
Source§impl Clone for AckOutcome
impl Clone for AckOutcome
Source§impl Debug for AckOutcome
impl Debug for AckOutcome
impl Eq for AckOutcome
Source§impl PartialEq for AckOutcome
impl PartialEq for AckOutcome
impl StructuralPartialEq for AckOutcome
Auto Trait Implementations§
impl Freeze for AckOutcome
impl RefUnwindSafe for AckOutcome
impl Send for AckOutcome
impl Sync for AckOutcome
impl Unpin for AckOutcome
impl UnsafeUnpin for AckOutcome
impl UnwindSafe for AckOutcome
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