pub(super) struct RtpMetrics {
worker_recorders: Mutex<Vec<RtpWorkerMetricsRecorder>>,
}Fields§
§worker_recorders: Mutex<Vec<RtpWorkerMetricsRecorder>>Implementations§
Source§impl RtpMetrics
impl RtpMetrics
pub(super) fn register_worker( &self, media_worker_id: Option<usize>, ) -> Arc<RtpMetricsRecorder>
pub(super) fn snapshot(&self) -> RtpMetricsSnapshot
Trait Implementations§
Source§impl Debug for RtpMetrics
impl Debug for RtpMetrics
Source§impl Default for RtpMetrics
impl Default for RtpMetrics
Source§fn default() -> RtpMetrics
fn default() -> RtpMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RtpMetrics
impl RefUnwindSafe for RtpMetrics
impl Send for RtpMetrics
impl Sync for RtpMetrics
impl Unpin for RtpMetrics
impl UnsafeUnpin for RtpMetrics
impl UnwindSafe for RtpMetrics
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