pub enum StreamMsg {
SetParams(DescriptorChain, virtio_snd_pcm_set_params),
Prepare(DescriptorChain),
Start(DescriptorChain),
Stop(DescriptorChain),
Release(DescriptorChain),
Buffer(DescriptorChain),
Break,
}Expand description
Messages that the worker can send to the stream (thread).
Variants§
SetParams(DescriptorChain, virtio_snd_pcm_set_params)
Prepare(DescriptorChain)
Start(DescriptorChain)
Stop(DescriptorChain)
Release(DescriptorChain)
Buffer(DescriptorChain)
Break
Auto Trait Implementations§
impl Freeze for StreamMsg
impl RefUnwindSafe for StreamMsg
impl Send for StreamMsg
impl Sync for StreamMsg
impl Unpin for StreamMsg
impl UnwindSafe for StreamMsg
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