gstreamer_validate::prelude

Trait BinMonitorExt

Source
pub trait BinMonitorExt: IsA<BinMonitor> + 'static {
    // Provided methods
    fn scenario(&self) -> Option<Scenario> { ... }
    fn is_handles_states(&self) -> bool { ... }
    fn connect_handles_states_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all BinMonitor methods.

§Implementors

BinMonitor, PipelineMonitor

Provided Methods§

Source

fn scenario(&self) -> Option<Scenario>

§Returns

The Scenario being executed under self watch

Source

fn is_handles_states(&self) -> bool

Source

fn connect_handles_states_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§