pub struct Finished { /* private fields */ }Expand description
Implementations§
Source§impl Finished
impl Finished
Sourcepub fn track_name(&self) -> &str
pub fn track_name(&self) -> &str
The name of the published track, which is Options::track resolved.
Sourcepub fn demand(&self) -> Demand
pub fn demand(&self) -> Demand
A watch-only handle to the track’s subscriber demand; see Producer::demand.
Sourcepub fn abort(self, err: Error)
pub fn abort(self, err: Error)
Abort the track with err; see Producer::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 capture’s error when the source failed.
Auto Trait Implementations§
impl !RefUnwindSafe for Finished
impl !Sync for Finished
impl !UnwindSafe for Finished
impl Freeze for Finished
impl Send for Finished
impl Unpin for Finished
impl UnsafeUnpin for Finished
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