pub enum MediaStreamTrackState {
Live,
Ended,
}
Expand description
Ready-state of a MediaStreamTrack
Variants§
Live
The track is active (the track’s underlying media source is making a best-effort attempt to provide data in real time).
Ended
The track has ended (the track’s underlying media source is no longer providing data, and will never provide more data for this track). Once a track enters this state, it never exits it.
Trait Implementations§
Source§impl Clone for MediaStreamTrackState
impl Clone for MediaStreamTrackState
Source§fn clone(&self) -> MediaStreamTrackState
fn clone(&self) -> MediaStreamTrackState
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 MediaStreamTrackState
impl Debug for MediaStreamTrackState
Source§impl PartialEq for MediaStreamTrackState
impl PartialEq for MediaStreamTrackState
impl Copy for MediaStreamTrackState
impl Eq for MediaStreamTrackState
impl StructuralPartialEq for MediaStreamTrackState
Auto Trait Implementations§
impl Freeze for MediaStreamTrackState
impl RefUnwindSafe for MediaStreamTrackState
impl Send for MediaStreamTrackState
impl Sync for MediaStreamTrackState
impl Unpin for MediaStreamTrackState
impl UnwindSafe for MediaStreamTrackState
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