pub struct AsyncWriter<'a, T> { /* private fields */ }Available on crate features
poll-driver and alsa only.Expand description
An interleaved type-checked async PCM writer.
See Pcm::async_writer.
Implementations§
Source§impl<'a, T> AsyncWriter<'a, T>
impl<'a, T> AsyncWriter<'a, T>
Sourcepub async fn write_interleaved<B>(&mut self, buf: B) -> Result<()>
pub async fn write_interleaved<B>(&mut self, buf: B) -> Result<()>
Write an interleaved buffer.
Trait Implementations§
impl<T> Send for AsyncWriter<'_, T>
Auto Trait Implementations§
impl<'a, T> Freeze for AsyncWriter<'a, T>
impl<'a, T> !RefUnwindSafe for AsyncWriter<'a, T>
impl<'a, T> !Sync for AsyncWriter<'a, T>
impl<'a, T> Unpin for AsyncWriter<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for AsyncWriter<'a, T>
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