pub struct AckPacket {
pub ack_number: u32,
pub timestamp: u32,
pub dest_socket_id: u32,
pub cif: AckCif,
}Expand description
ACK control packet (§3.2.4, Figure 13). ack_number occupies the header
Type-specific Information word (“the sequential number of the full
acknowledgment packet starting from 1”); per §3.2.4 it “should be set to
0” for Small/Light ACKs, but is stored and round-tripped verbatim
regardless of variant.
Fields§
§ack_number: u32Acknowledgement Number.
timestamp: u32Timestamp (§3).
dest_socket_id: u32Destination Socket ID (§3).
cif: AckCifThe CIF, shaped per variant.
Trait Implementations§
impl Copy for AckPacket
impl Eq for AckPacket
impl StructuralPartialEq for AckPacket
Auto Trait Implementations§
impl Freeze for AckPacket
impl RefUnwindSafe for AckPacket
impl Send for AckPacket
impl Sync for AckPacket
impl Unpin for AckPacket
impl UnsafeUnpin for AckPacket
impl UnwindSafe for AckPacket
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