pub(in engine::room) struct RoomTransportPlan {
relays: Vec<TransportRelayRouteEffect>,
remote_source_activity: Vec<TransportSourceActivityEffect>,
teardown: Vec<TransportTeardown>,
route_control: RoomRouteEffects,
setup_turns: Vec<ReceiverSetupTurn>,
}Fields§
§relays: Vec<TransportRelayRouteEffect>§remote_source_activity: Vec<TransportSourceActivityEffect>§teardown: Vec<TransportTeardown>§route_control: RoomRouteEffects§setup_turns: Vec<ReceiverSetupTurn>Implementations§
Source§impl RoomTransportPlan
impl RoomTransportPlan
pub(in engine::room) fn from_relays_and_teardown( relays: Vec<TransportRelayRouteEffect>, additional_teardown: impl IntoIterator<Item = TransportTeardown>, ) -> Self
pub(in engine::room) fn extend( &mut self, other: Self, )
pub(in engine::room) fn extend_teardown( &mut self, teardown: impl IntoIterator<Item = TransportTeardown>, )
pub(super) fn push_producer( &mut self, source: TransportSourceKey, stream_id: UserStreamId, update: SourceActivityUpdate, )
pub(super) fn extend_remote_source_activity( &mut self, effects: impl IntoIterator<Item = TransportSourceActivityEffect>, )
pub(super) fn push_receiver_work( &mut self, work: ReceiverRouteWork, origin: ConsumerSetupOrigin, )
pub(super) async fn execute( self, room: &Room, media_transport: Option<&MediaTransport>, )
Trait Implementations§
Source§impl Debug for RoomTransportPlan
impl Debug for RoomTransportPlan
Source§impl Default for RoomTransportPlan
impl Default for RoomTransportPlan
Source§fn default() -> RoomTransportPlan
fn default() -> RoomTransportPlan
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RoomTransportPlan
impl RefUnwindSafe for RoomTransportPlan
impl Send for RoomTransportPlan
impl Sync for RoomTransportPlan
impl Unpin for RoomTransportPlan
impl UnsafeUnpin for RoomTransportPlan
impl UnwindSafe for RoomTransportPlan
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