pub struct BandwidthEstimate {
pub bps: u64,
}Expand description
Aggregated egress bandwidth estimate for a peer’s outgoing stream.
Units: bits per second. 0 is legal — it means the estimator has observed
network failure or has no data yet.
Emitted from str0m’s internal GoogCC each time the estimator produces a new value (typically every 100–500 ms, driven by TWCC or REMB feedback).
Fields§
§bps: u64Current estimate in bits per second.
Implementations§
Trait Implementations§
Source§impl Clone for BandwidthEstimate
impl Clone for BandwidthEstimate
Source§fn clone(&self) -> BandwidthEstimate
fn clone(&self) -> BandwidthEstimate
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 BandwidthEstimate
impl Debug for BandwidthEstimate
Source§impl PartialEq for BandwidthEstimate
impl PartialEq for BandwidthEstimate
Source§fn eq(&self, other: &BandwidthEstimate) -> bool
fn eq(&self, other: &BandwidthEstimate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BandwidthEstimate
impl StructuralPartialEq for BandwidthEstimate
Auto Trait Implementations§
impl Freeze for BandwidthEstimate
impl RefUnwindSafe for BandwidthEstimate
impl Send for BandwidthEstimate
impl Sync for BandwidthEstimate
impl Unpin for BandwidthEstimate
impl UnsafeUnpin for BandwidthEstimate
impl UnwindSafe for BandwidthEstimate
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