pub struct AvailBwFrame {
pub avail_kbps: u64,
pub capacity_kbps: u64,
}Expand description
The receiver’s WBest available-bandwidth estimate, reverse-reported so the sender can cross-check its passive BtlBw. Carried in kbit/s so a multi-Gbit estimate fits a varint without floating point on the wire.
Fields§
§avail_kbps: u64Available bandwidth in kbit/s (0 = no estimate yet).
capacity_kbps: u64Effective capacity in kbit/s (the WBest stage-1 median), for the cross-check against the passive BtlBw.
Trait Implementations§
Source§impl Clone for AvailBwFrame
impl Clone for AvailBwFrame
Source§fn clone(&self) -> AvailBwFrame
fn clone(&self) -> AvailBwFrame
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 AvailBwFrame
Source§impl Debug for AvailBwFrame
impl Debug for AvailBwFrame
Source§impl Default for AvailBwFrame
impl Default for AvailBwFrame
Source§fn default() -> AvailBwFrame
fn default() -> AvailBwFrame
Returns the “default value” for a type. Read more
impl Eq for AvailBwFrame
Source§impl PartialEq for AvailBwFrame
impl PartialEq for AvailBwFrame
Source§fn eq(&self, other: &AvailBwFrame) -> bool
fn eq(&self, other: &AvailBwFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AvailBwFrame
Auto Trait Implementations§
impl Freeze for AvailBwFrame
impl RefUnwindSafe for AvailBwFrame
impl Send for AvailBwFrame
impl Sync for AvailBwFrame
impl Unpin for AvailBwFrame
impl UnsafeUnpin for AvailBwFrame
impl UnwindSafe for AvailBwFrame
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