pub(super) struct PolicyFacts<'facts> {
pub(super) receivers: Vec<ReceiverFacts<'facts>>,
pub(super) routes: Vec<RouteFacts<'facts>>,
pub(super) speakers: Vec<SpeakerFacts>,
pub(super) media_limits: RoomMediaLimits,
pub(super) tuning: VideoAdaptationTuning,
}Expand description
Room facts and transport observations one policy turn plans from.
Fields§
§receivers: Vec<ReceiverFacts<'facts>>Every room user, ordered by user id.
routes: Vec<RouteFacts<'facts>>Consumers whose source and subscription are active, ordered by receiver, publisher and stream. Policy-paused consumers stay listed so a later turn can resume them.
speakers: Vec<SpeakerFacts>Speaker observations of the room’s active sources.
media_limits: RoomMediaLimits§tuning: VideoAdaptationTuningTrait Implementations§
Auto Trait Implementations§
impl<'facts> Freeze for PolicyFacts<'facts>
impl<'facts> RefUnwindSafe for PolicyFacts<'facts>
impl<'facts> Send for PolicyFacts<'facts>
impl<'facts> Sync for PolicyFacts<'facts>
impl<'facts> Unpin for PolicyFacts<'facts>
impl<'facts> UnsafeUnpin for PolicyFacts<'facts>
impl<'facts> UnwindSafe for PolicyFacts<'facts>
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