pub struct TracksRequest {
pub info: Arc<Tracks>,
/* private fields */
}
Fields§
§info: Arc<Tracks>
Implementations§
Source§impl TracksRequest
impl TracksRequest
Sourcepub async fn next(&mut self) -> Option<TrackWriter>
pub async fn next(&mut self) -> Option<TrackWriter>
Wait for a request to create a new track. None is returned if all TracksReaders have been dropped.
Trait Implementations§
Source§impl Deref for TracksRequest
impl Deref for TracksRequest
Auto Trait Implementations§
impl Freeze for TracksRequest
impl RefUnwindSafe for TracksRequest
impl Send for TracksRequest
impl Sync for TracksRequest
impl Unpin for TracksRequest
impl UnwindSafe for TracksRequest
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