pub trait AudioSinkImplExt: AudioSinkImpl {
// Provided methods
fn parent_close(&self) -> Result<(), LoggableError> { ... }
fn parent_delay(&self) -> u32 { ... }
fn parent_open(&self) -> Result<(), LoggableError> { ... }
fn parent_prepare(
&self,
spec: &mut AudioRingBufferSpec,
) -> Result<(), LoggableError> { ... }
fn parent_unprepare(&self) -> Result<(), LoggableError> { ... }
fn parent_write(&self, buffer: &[u8]) -> Result<i32, LoggableError> { ... }
fn parent_reset(&self) { ... }
}
Provided Methods§
fn parent_close(&self) -> Result<(), LoggableError>
fn parent_delay(&self) -> u32
fn parent_open(&self) -> Result<(), LoggableError>
fn parent_prepare( &self, spec: &mut AudioRingBufferSpec, ) -> Result<(), LoggableError>
fn parent_unprepare(&self) -> Result<(), LoggableError>
fn parent_write(&self, buffer: &[u8]) -> Result<i32, LoggableError>
fn parent_reset(&self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.