pub struct Finished<C: Container, R = ()> { /* private fields */ }Expand description
Implementations§
Source§impl<C: Container, R: Clone + Send + 'static> Finished<C, R>
impl<C: Container, R: Clone + Send + 'static> Finished<C, R>
Sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The catalog key owned by this track; see Producer::name.
Sourcepub fn estimate(&self) -> Estimate
pub fn estimate(&self) -> Estimate
The jitter, bitrate, delay, and framerate measured from every frame written; see
Producer::estimate.
Sourcepub fn abort(self, err: Error)
pub fn abort(self, err: Error)
Abort the track with err; see [moq_net::track::Finished::abort]. Readers still draining get the end
the track declared instead once every group below it finished: the clean end after Producer::finish,
or the error Producer::fail gave.
Auto Trait Implementations§
impl<C, R = ()> !RefUnwindSafe for Finished<C, R>
impl<C, R = ()> !Sync for Finished<C, R>
impl<C, R = ()> !UnwindSafe for Finished<C, R>
impl<C, R> Freeze for Finished<C, R>where
C: Freeze,
impl<C, R> Send for Finished<C, R>where
C: Send,
impl<C, R> Unpin for Finished<C, R>where
C: Unpin,
impl<C, R> UnsafeUnpin for Finished<C, R>where
C: UnsafeUnpin,
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