pub struct RemoteVideoTrack { /* private fields */ }Implementations§
Source§impl RemoteVideoTrack
impl RemoteVideoTrack
pub fn sid(&self) -> TrackSid
pub fn name(&self) -> String
pub fn kind(&self) -> TrackKind
pub fn source(&self) -> TrackSource
pub fn stream_state(&self) -> StreamState
pub fn is_enabled(&self) -> bool
pub fn enable(&self)
pub fn disable(&self)
pub fn is_muted(&self) -> bool
pub fn rtc_track(&self) -> RtcVideoTrack
pub fn is_remote(&self) -> bool
pub async fn get_stats(&self) -> RoomResult<Vec<RtcStats>>
Trait Implementations§
Source§impl Clone for RemoteVideoTrack
impl Clone for RemoteVideoTrack
Source§fn clone(&self) -> RemoteVideoTrack
fn clone(&self) -> RemoteVideoTrack
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 moreAuto Trait Implementations§
impl Freeze for RemoteVideoTrack
impl !RefUnwindSafe for RemoteVideoTrack
impl Send for RemoteVideoTrack
impl Sync for RemoteVideoTrack
impl Unpin for RemoteVideoTrack
impl UnsafeUnpin for RemoteVideoTrack
impl !UnwindSafe for RemoteVideoTrack
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