pub struct SessionSenderReport {
pub interval_start_counter: u64,
pub interval_end_counter: u64,
pub interval_start_timestamp: u32,
pub interval_end_timestamp: u32,
pub interval_bytes_sent: u32,
pub cumulative_packets_sent: u64,
pub cumulative_bytes_sent: u64,
}Expand description
Session-layer sender report (msg_type 0x11).
Mirrors the FMP SenderReport fields but carried as an FSP session
message inside the AEAD envelope. The msg_type is in the FSP inner
header, so the body starts with reserved bytes.
§Wire Format (46 bytes body, after inner header stripped)
[0-1] reserved (zero)
[2-9] interval_start_counter: u64 LE
[10-17] interval_end_counter: u64 LE
[18-21] interval_start_timestamp: u32 LE
[22-25] interval_end_timestamp: u32 LE
[26-29] interval_bytes_sent: u32 LE
[30-37] cumulative_packets_sent: u64 LE
[38-45] cumulative_bytes_sent: u64 LEFields§
§interval_start_counter: u64§interval_end_counter: u64§interval_start_timestamp: u32§interval_end_timestamp: u32§interval_bytes_sent: u32§cumulative_packets_sent: u64§cumulative_bytes_sent: u64Implementations§
Trait Implementations§
Source§impl Clone for SessionSenderReport
impl Clone for SessionSenderReport
Source§fn clone(&self) -> SessionSenderReport
fn clone(&self) -> SessionSenderReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionSenderReport
impl Debug for SessionSenderReport
Source§impl From<&SenderReport> for SessionSenderReport
impl From<&SenderReport> for SessionSenderReport
Source§fn from(r: &SenderReport) -> Self
fn from(r: &SenderReport) -> Self
Converts to this type from the input type.
Source§impl From<&SessionSenderReport> for SenderReport
impl From<&SessionSenderReport> for SenderReport
Source§fn from(r: &SessionSenderReport) -> Self
fn from(r: &SessionSenderReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SessionSenderReport
impl PartialEq for SessionSenderReport
Source§fn eq(&self, other: &SessionSenderReport) -> bool
fn eq(&self, other: &SessionSenderReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionSenderReport
impl StructuralPartialEq for SessionSenderReport
Auto Trait Implementations§
impl Freeze for SessionSenderReport
impl RefUnwindSafe for SessionSenderReport
impl Send for SessionSenderReport
impl Sync for SessionSenderReport
impl Unpin for SessionSenderReport
impl UnsafeUnpin for SessionSenderReport
impl UnwindSafe for SessionSenderReport
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more