pub struct Command<'a> { /* private fields */ }Expand description
A command sent to a Running audio stream. This implements IntoFuture and must be
.awaited for the command to be sent.
To modify a command to apply only to one end (i.e. input or output), see only
and its shorthands only_input and
only_output.
Implementations§
Source§impl Command<'_>
impl Command<'_>
Sourcepub fn only_input(self) -> Self
pub fn only_input(self) -> Self
Apply this command only to the input end of the audio pipeline.
Sourcepub fn only_output(self) -> Self
pub fn only_output(self) -> Self
Apply this command only to the output end of the audio pipeline.
Trait Implementations§
Source§impl<'a> IntoFuture for Command<'a>
impl<'a> IntoFuture for Command<'a>
Auto Trait Implementations§
impl<'a> Freeze for Command<'a>
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
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