pub struct LossAcctFrame {
pub seq: u32,
pub last_recv_seq: u32,
}Expand description
Bidirectional control-plane loss accounting. seq is the count of control
packets this endpoint has SENT; last_recv_seq is the count it has RECEIVED
from the peer. Pairing the two separates forward-path loss (the peer did not
get your packets: your seq minus the peer’s reported last_recv_seq) from
reverse-path loss (you did not get the peer’s: the peer’s seq minus your
last_recv_seq).
Fields§
§seq: u32§last_recv_seq: u32Trait Implementations§
Source§impl Clone for LossAcctFrame
impl Clone for LossAcctFrame
Source§fn clone(&self) -> LossAcctFrame
fn clone(&self) -> LossAcctFrame
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 moreimpl Copy for LossAcctFrame
Source§impl Debug for LossAcctFrame
impl Debug for LossAcctFrame
Source§impl Default for LossAcctFrame
impl Default for LossAcctFrame
Source§fn default() -> LossAcctFrame
fn default() -> LossAcctFrame
Returns the “default value” for a type. Read more
impl Eq for LossAcctFrame
Source§impl PartialEq for LossAcctFrame
impl PartialEq for LossAcctFrame
impl StructuralPartialEq for LossAcctFrame
Auto Trait Implementations§
impl Freeze for LossAcctFrame
impl RefUnwindSafe for LossAcctFrame
impl Send for LossAcctFrame
impl Sync for LossAcctFrame
impl Unpin for LossAcctFrame
impl UnsafeUnpin for LossAcctFrame
impl UnwindSafe for LossAcctFrame
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