gstreamer_base::prelude

Trait AggregatorExt

Source
pub trait AggregatorExt:
    IsA<Aggregator>
    + Sealed
    + 'static {
    // Provided methods
    fn finish_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError> { ... }
    fn buffer_pool(&self) -> Option<BufferPool> { ... }
    fn latency(&self) -> Option<ClockTime> { ... }
    fn set_latency(
        &self,
        min_latency: ClockTime,
        max_latency: impl Into<Option<ClockTime>>,
    ) { ... }
    fn set_src_caps(&self, caps: &Caps) { ... }
    fn start_time(&self) -> u64 { ... }
    fn set_start_time(&self, start_time: u64) { ... }
    fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn finish_buffer(&self, buffer: Buffer) -> Result<FlowSuccess, FlowError>

Source

fn buffer_pool(&self) -> Option<BufferPool>

Source

fn latency(&self) -> Option<ClockTime>

Source

fn set_latency( &self, min_latency: ClockTime, max_latency: impl Into<Option<ClockTime>>, )

Source

fn set_src_caps(&self, caps: &Caps)

Source

fn start_time(&self) -> u64

Source

fn set_start_time(&self, start_time: u64)

Source

fn connect_latency_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_start_time_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

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§