pub struct DataTrackInfo { /* private fields */ }Expand description
Information about a published data track.
Implementations§
Source§impl DataTrackInfo
impl DataTrackInfo
Sourcepub fn sid(&self) -> DataTrackSid
pub fn sid(&self) -> DataTrackSid
Unique track identifier assigned by the SFU.
This identifier may change if a reconnect occurs. Use Self::name if a
stable identifier is needed.
Trait Implementations§
Source§impl Clone for DataTrackInfo
impl Clone for DataTrackInfo
Source§fn clone(&self) -> DataTrackInfo
fn clone(&self) -> DataTrackInfo
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 moreSource§impl Debug for DataTrackInfo
impl Debug for DataTrackInfo
Source§impl From<DataTrackInfo> for DataTrackInfo
impl From<DataTrackInfo> for DataTrackInfo
Source§fn from(info: DataTrackInfo) -> Self
fn from(info: DataTrackInfo) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DataTrackInfo> for DataTrackInfo
impl TryFrom<DataTrackInfo> for DataTrackInfo
Source§type Error = InternalError
type Error = InternalError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DataTrackInfo
impl RefUnwindSafe for DataTrackInfo
impl Send for DataTrackInfo
impl Sync for DataTrackInfo
impl Unpin for DataTrackInfo
impl UnsafeUnpin for DataTrackInfo
impl UnwindSafe for DataTrackInfo
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