pub struct RemoteAudioTrack { /* private fields */ }Implementations§
Source§impl RemoteAudioTrack
impl RemoteAudioTrack
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) -> RtcAudioTrack
pub fn is_remote(&self) -> bool
pub async fn get_stats(&self) -> RoomResult<Vec<RtcStats>>
Trait Implementations§
Source§impl Clone for RemoteAudioTrack
impl Clone for RemoteAudioTrack
Source§fn clone(&self) -> RemoteAudioTrack
fn clone(&self) -> RemoteAudioTrack
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 RemoteAudioTrack
impl !RefUnwindSafe for RemoteAudioTrack
impl Send for RemoteAudioTrack
impl Sync for RemoteAudioTrack
impl Unpin for RemoteAudioTrack
impl UnsafeUnpin for RemoteAudioTrack
impl !UnwindSafe for RemoteAudioTrack
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