pub enum SourceRoutePriority {
PinnedOrFeatured,
ReadableDetail,
ActiveSpeaker,
VisibleThumbnail,
HiddenOrOverflow,
}Expand description
overload priority derived from a route’s room-policy selector
lower-priority buckets exhaust their cheaper encodings and pause before overload handling changes a higher-priority bucket
Variants§
PinnedOrFeatured
explicit receiver intent
pinned and featured routes outrank every other route and pause last
ReadableDetail
detail-preserving source policy
readable-detail routes outrank active-speaker routes but stay below explicit pinned or featured receiver intent
ActiveSpeaker
server-promoted active-speaker route
explicit receiver intent and readable-detail source policy outrank this role
VisibleThumbnail
visible secondary route
visible thumbnails downswitch and then pause before higher-priority routes
HiddenOrOverflow
route that is not currently visible
hidden and overflow routes are first to pause under receiver budget pressure
Trait Implementations§
Source§impl Clone for SourceRoutePriority
impl Clone for SourceRoutePriority
Source§fn clone(&self) -> SourceRoutePriority
fn clone(&self) -> SourceRoutePriority
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 Debug for SourceRoutePriority
impl Debug for SourceRoutePriority
Source§impl From<SourceRoutePriority> for DiagnosticsVideoRoutePriority
impl From<SourceRoutePriority> for DiagnosticsVideoRoutePriority
Source§fn from(value: SourceRoutePriority) -> DiagnosticsVideoRoutePriority
fn from(value: SourceRoutePriority) -> DiagnosticsVideoRoutePriority
Converts to this type from the input type.
Source§impl Ord for SourceRoutePriority
impl Ord for SourceRoutePriority
Source§fn cmp(&self, other: &SourceRoutePriority) -> Ordering
fn cmp(&self, other: &SourceRoutePriority) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceRoutePriority
impl PartialEq for SourceRoutePriority
Source§impl PartialOrd for SourceRoutePriority
impl PartialOrd for SourceRoutePriority
impl Copy for SourceRoutePriority
impl Eq for SourceRoutePriority
impl StructuralPartialEq for SourceRoutePriority
Auto Trait Implementations§
impl Freeze for SourceRoutePriority
impl RefUnwindSafe for SourceRoutePriority
impl Send for SourceRoutePriority
impl Sync for SourceRoutePriority
impl Unpin for SourceRoutePriority
impl UnsafeUnpin for SourceRoutePriority
impl UnwindSafe for SourceRoutePriority
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