struct MediaControlExecution<P, C> {
receiver_bwe: BTreeMap<usize, Vec<(usize, ReceiverBweTargetUpdate)>>,
producers: BTreeMap<usize, Vec<(usize, ProducerRouteControl)>>,
producer_results: Vec<(P, TransportResult<()>)>,
gates: BTreeMap<(usize, TransportSourceKey), Vec<(usize, TransportConsumerRoute, PacketLayerGate)>>,
consumers: BTreeMap<usize, Vec<(usize, ConsumerRouteControl)>>,
consumer_results: Vec<(C, ConsumerRouteControlOutcome)>,
}Fields§
§receiver_bwe: BTreeMap<usize, Vec<(usize, ReceiverBweTargetUpdate)>>§producers: BTreeMap<usize, Vec<(usize, ProducerRouteControl)>>§producer_results: Vec<(P, TransportResult<()>)>§gates: BTreeMap<(usize, TransportSourceKey), Vec<(usize, TransportConsumerRoute, PacketLayerGate)>>§consumers: BTreeMap<usize, Vec<(usize, ConsumerRouteControl)>>§consumer_results: Vec<(C, ConsumerRouteControlOutcome)>Implementations§
Source§impl<P, C> MediaControlExecution<P, C>
impl<P, C> MediaControlExecution<P, C>
fn new(plan: MediaControlPlan<P, C>) -> Self
async fn apply_receiver_bwe(&mut self, transport: &MediaTransport)
async fn apply_producers(&mut self, transport: &MediaTransport)
async fn apply_gates(&mut self, transport: &MediaTransport)
async fn apply_consumers(&mut self, transport: &MediaTransport)
Auto Trait Implementations§
impl<P, C> Freeze for MediaControlExecution<P, C>
impl<P, C> RefUnwindSafe for MediaControlExecution<P, C>where
P: RefUnwindSafe,
C: RefUnwindSafe,
impl<P, C> Send for MediaControlExecution<P, C>
impl<P, C> Sync for MediaControlExecution<P, C>
impl<P, C> Unpin for MediaControlExecution<P, C>
impl<P, C> UnsafeUnpin for MediaControlExecution<P, C>
impl<P, C> UnwindSafe for MediaControlExecution<P, C>where
P: UnwindSafe,
C: UnwindSafe,
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