Trait Audio Encoder Impl Ext 
Source pub trait AudioEncoderImplExt: AudioEncoderImpl {
Show 16 methods
    // Provided methods
    fn parent_open(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_close(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
    fn parent_set_format(&self, info: &AudioInfo) -> Result<(), LoggableError> { ... }
    fn parent_handle_frame(
        &self,
        buffer: Option<&Buffer>,
    ) -> Result<FlowSuccess, FlowError> { ... }
    fn parent_pre_push(
        &self,
        buffer: Buffer,
    ) -> Result<Option<Buffer>, FlowError> { ... }
    fn parent_flush(&self) { ... }
    fn parent_negotiate(&self) -> Result<(), LoggableError> { ... }
    fn parent_caps(&self, filter: Option<&Caps>) -> Caps { ... }
    fn parent_sink_event(&self, event: Event) -> bool { ... }
    fn parent_sink_query(&self, query: &mut QueryRef) -> bool { ... }
    fn parent_src_event(&self, event: Event) -> bool { ... }
    fn parent_src_query(&self, query: &mut QueryRef) -> bool { ... }
    fn parent_propose_allocation(
        &self,
        query: &mut Allocation,
    ) -> Result<(), LoggableError> { ... }
    fn parent_decide_allocation(
        &self,
        query: &mut Allocation,
    ) -> Result<(), LoggableError> { ... }
}Provided Methods§
fn parent_open(&self) -> Result<(), ErrorMessage>
fn parent_close(&self) -> Result<(), ErrorMessage>
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_set_format(&self, info: &AudioInfo) -> Result<(), LoggableError>
fn parent_handle_frame( &self, buffer: Option<&Buffer>, ) -> Result<FlowSuccess, FlowError>
fn parent_pre_push(&self, buffer: Buffer) -> Result<Option<Buffer>, FlowError>
fn parent_flush(&self)
fn parent_negotiate(&self) -> Result<(), LoggableError>
fn parent_caps(&self, filter: Option<&Caps>) -> Caps
fn parent_sink_event(&self, event: Event) -> bool
fn parent_sink_query(&self, query: &mut QueryRef) -> bool
fn parent_src_event(&self, event: Event) -> bool
fn parent_src_query(&self, query: &mut QueryRef) -> bool
fn parent_propose_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
fn parent_decide_allocation( &self, query: &mut Allocation, ) -> Result<(), LoggableError>
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.