pub struct RoomUsersCapture {
primary_media_worker_id: Option<MediaWorkerId>,
users: Vec<CapturedUserSummary>,
}Expand description
Passive room user inventory used by room-user and worker diagnostics.
Fields§
§primary_media_worker_id: Option<MediaWorkerId>§users: Vec<CapturedUserSummary>Implementations§
Source§impl RoomUsersCapture
impl RoomUsersCapture
pub fn session_keys(&self) -> impl Iterator<Item = &TransportSessionKey>
pub fn into_user_summaries( self, room_id: &str, bitrate: &TransportBitrateSnapshot, health: &BTreeMap<TransportSessionKey, TransportSessionHealth>, stream_ids: [&str; 3], ) -> Vec<DiagnosticsUserSummary>
pub fn add_to_worker_summaries( self, health: &BTreeMap<TransportSessionKey, TransportSessionHealth>, workers: &mut BTreeMap<usize, DiagnosticsWorkerSummary>, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RoomUsersCapture
impl RefUnwindSafe for RoomUsersCapture
impl Send for RoomUsersCapture
impl Sync for RoomUsersCapture
impl Unpin for RoomUsersCapture
impl UnsafeUnpin for RoomUsersCapture
impl UnwindSafe for RoomUsersCapture
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
§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