pub struct SendReceipt {
pub seq: u32,
pub remote: SocketAddr,
pub sent_at: ClientTimestamp,
pub bytes: usize,
pub send_call: Duration,
}Expand description
An Echo datagram accepted by the UDP socket and committed in session state.
The wire sequence and sent count have advanced, and the probe is pending.
This receipt remains authoritative even if subsequent validation or kernel
TX timestamp processing fails. It carries transport facts only; managed
scheduling annotations belong on the corresponding ClientEvent::EchoSent.
Fields§
§seq: u32Committed wire sequence number.
remote: SocketAddrResolved remote socket address.
sent_at: ClientTimestampPublic measurement timestamp sampled immediately after socket acceptance. The private pre-send anchor still determines the timeout deadline.
bytes: usizeNumber of bytes the socket reported accepting.
send_call: DurationTime spent in the successful socket send call.
Trait Implementations§
Source§impl Clone for SendReceipt
impl Clone for SendReceipt
impl Copy for SendReceipt
Source§impl Debug for SendReceipt
impl Debug for SendReceipt
impl Eq for SendReceipt
Source§impl From<SendReceipt> for ClientEvent
impl From<SendReceipt> for ClientEvent
Source§fn from(receipt: SendReceipt) -> Self
fn from(receipt: SendReceipt) -> Self
Construct the committed send event without scheduling annotations.
Source§impl PartialEq for SendReceipt
impl PartialEq for SendReceipt
impl StructuralPartialEq for SendReceipt
Auto Trait Implementations§
impl Freeze for SendReceipt
impl RefUnwindSafe for SendReceipt
impl Send for SendReceipt
impl Sync for SendReceipt
impl Unpin for SendReceipt
impl UnsafeUnpin for SendReceipt
impl UnwindSafe for SendReceipt
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