pub struct ReceiverVideoBudgetDiagnostics {
latest_receiver_bandwidth: Option<Bitrate>,
selected_video_budget: Option<Bitrate>,
active_video_route_count: usize,
selected_video_bitrate: Bitrate,
}Expand description
Latest receiver-level budget facts attached to a source selection.
Fields§
§latest_receiver_bandwidth: Option<Bitrate>§selected_video_budget: Option<Bitrate>§active_video_route_count: usize§selected_video_bitrate: BitrateImplementations§
Source§impl ReceiverVideoBudgetDiagnostics
impl ReceiverVideoBudgetDiagnostics
pub const fn new( latest_receiver_bandwidth: Option<Bitrate>, selected_video_budget: Option<Bitrate>, active_video_route_count: usize, selected_video_bitrate: Bitrate, ) -> Self
pub const fn latest_receiver_bandwidth(self) -> Option<Bitrate>
pub const fn selected_video_budget(self) -> Option<Bitrate>
pub const fn active_video_route_count(self) -> usize
pub const fn selected_video_bitrate(self) -> Bitrate
Trait Implementations§
Source§impl Clone for ReceiverVideoBudgetDiagnostics
impl Clone for ReceiverVideoBudgetDiagnostics
Source§fn clone(&self) -> ReceiverVideoBudgetDiagnostics
fn clone(&self) -> ReceiverVideoBudgetDiagnostics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ReceiverVideoBudgetDiagnostics
impl Default for ReceiverVideoBudgetDiagnostics
Source§fn default() -> ReceiverVideoBudgetDiagnostics
fn default() -> ReceiverVideoBudgetDiagnostics
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReceiverVideoBudgetDiagnostics
impl PartialEq for ReceiverVideoBudgetDiagnostics
Source§fn eq(&self, other: &ReceiverVideoBudgetDiagnostics) -> bool
fn eq(&self, other: &ReceiverVideoBudgetDiagnostics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ReceiverVideoBudgetDiagnostics
impl Eq for ReceiverVideoBudgetDiagnostics
impl StructuralPartialEq for ReceiverVideoBudgetDiagnostics
Auto Trait Implementations§
impl Freeze for ReceiverVideoBudgetDiagnostics
impl RefUnwindSafe for ReceiverVideoBudgetDiagnostics
impl Send for ReceiverVideoBudgetDiagnostics
impl Sync for ReceiverVideoBudgetDiagnostics
impl Unpin for ReceiverVideoBudgetDiagnostics
impl UnsafeUnpin for ReceiverVideoBudgetDiagnostics
impl UnwindSafe for ReceiverVideoBudgetDiagnostics
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,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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