pub struct Ack {
pub largest: u64,
pub delay: u64,
pub additional: Bytes,
pub ecn: Option<EcnCounts>,
}Expand description
Contents of an ACK frame
Fields§
§largest: u64Largest acknowledged packet number
delay: u64ACK delay in microseconds
additional: BytesAdditional ACK block data encoded per RFC 9000
ecn: Option<EcnCounts>Explicit Congestion Notification counters, if present
Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for &'a Ack
impl<'a> IntoIterator for &'a Ack
impl Eq for Ack
impl StructuralPartialEq for Ack
Auto Trait Implementations§
impl !Freeze for Ack
impl RefUnwindSafe for Ack
impl Send for Ack
impl Sync for Ack
impl Unpin for Ack
impl UnwindSafe for Ack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.