pub struct AbortHandle(/* private fields */);Expand description
Aborts a track without keeping it open, from Producer::abort_handle.
Holding one neither keeps the track alive nor counts as its producer, so a track whose producers all dropped closes as usual and the handle then does nothing.
Implementations§
Source§impl AbortHandle
impl AbortHandle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbortHandle
impl RefUnwindSafe for AbortHandle
impl Send for AbortHandle
impl Sync for AbortHandle
impl Unpin for AbortHandle
impl UnsafeUnpin for AbortHandle
impl UnwindSafe for AbortHandle
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