Struct audio_streams::shm_streams::NullShmStreamSource
source · pub struct NullShmStreamSource;
Expand description
Source of NullShmStream
objects.
Implementations§
Trait Implementations§
source§impl Default for NullShmStreamSource
impl Default for NullShmStreamSource
source§fn default() -> NullShmStreamSource
fn default() -> NullShmStreamSource
Returns the “default value” for a type. Read more
source§impl<E: Error> ShmStreamSource<E> for NullShmStreamSource
impl<E: Error> ShmStreamSource<E> for NullShmStreamSource
source§fn new_stream(
&mut self,
_direction: StreamDirection,
num_channels: usize,
format: SampleFormat,
frame_rate: u32,
buffer_size: usize,
_effects: &[StreamEffect],
_client_shm: &dyn SharedMemory<Error = E>,
_buffer_offsets: [u64; 2]
) -> Result<Box<dyn ShmStream>, BoxError>
fn new_stream( &mut self, _direction: StreamDirection, num_channels: usize, format: SampleFormat, frame_rate: u32, buffer_size: usize, _effects: &[StreamEffect], _client_shm: &dyn SharedMemory<Error = E>, _buffer_offsets: [u64; 2] ) -> Result<Box<dyn ShmStream>, BoxError>
Auto Trait Implementations§
impl RefUnwindSafe for NullShmStreamSource
impl Send for NullShmStreamSource
impl Sync for NullShmStreamSource
impl Unpin for NullShmStreamSource
impl UnwindSafe for NullShmStreamSource
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