pub trait BaseParseImplExt: BaseParseImpl {
// Provided methods
fn parent_start(&self) -> Result<(), ErrorMessage> { ... }
fn parent_stop(&self) -> Result<(), ErrorMessage> { ... }
fn parent_set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError> { ... }
fn parent_handle_frame(
&self,
frame: BaseParseFrame<'_>,
) -> Result<(FlowSuccess, u32), FlowError> { ... }
fn parent_convert(
&self,
src_val: impl FormattedValue,
dest_format: Format,
) -> Option<GenericFormattedValue> { ... }
}
Provided Methods§
fn parent_start(&self) -> Result<(), ErrorMessage>
fn parent_stop(&self) -> Result<(), ErrorMessage>
fn parent_set_sink_caps(&self, caps: &Caps) -> Result<(), LoggableError>
fn parent_handle_frame( &self, frame: BaseParseFrame<'_>, ) -> Result<(FlowSuccess, u32), FlowError>
fn parent_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.