pub struct Repository { /* private fields */ }Expand description
Context of the Component.
Implementations§
Source§impl Repository
impl Repository
Sourcepub fn new(
media_manager: Rc<MediaManager>,
peer_event_sender: UnboundedSender<PeerEvent>,
send_constraints: LocalTracksConstraints,
recv_constraints: Rc<RecvConstraints>,
connections: Rc<Connections>,
) -> Self
pub fn new( media_manager: Rc<MediaManager>, peer_event_sender: UnboundedSender<PeerEvent>, send_constraints: LocalTracksConstraints, recv_constraints: Rc<RecvConstraints>, connections: Rc<Connections>, ) -> Self
Returns new empty platform::RtcStats.
Spawns a task for scraping platform::RtcStats.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Repository
impl !RefUnwindSafe for Repository
impl !Send for Repository
impl !Sync for Repository
impl Unpin for Repository
impl !UnwindSafe for Repository
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