gstreamer_base::subclass::prelude

Trait BaseParseImpl

Source
pub trait BaseParseImpl: BaseParseImplExt + ElementImpl {
    // Provided methods
    fn start(&self) -> Result<(), ErrorMessage> { ... }
    fn stop(&self) -> Result<(), ErrorMessage> { ... }
    fn set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
    fn handle_frame(
        &self,
        frame: BaseParseFrame<'_>,
    ) -> Result<(FlowSuccess, u32), FlowError> { ... }
    fn convert(
        &self,
        src_val: impl FormattedValue,
        dest_format: Format,
    ) -> Option<GenericFormattedValue> { ... }
}

Provided Methods§

Source

fn start(&self) -> Result<(), ErrorMessage>

Source

fn stop(&self) -> Result<(), ErrorMessage>

Source

fn set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError>

Source

fn handle_frame( &self, frame: BaseParseFrame<'_>, ) -> Result<(FlowSuccess, u32), FlowError>

Source

fn convert( &self, src_val: impl FormattedValue, dest_format: Format, ) -> Option<GenericFormattedValue>

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.

Implementors§