Trait gstreamer_validate::prelude::MonitorExt

source ·
pub trait MonitorExt: IsA<Monitor> + Sealed + 'static {
    // Provided methods
    fn element(&self) -> Option<Element> { ... }
    fn element_name(&self) -> Option<GString> { ... }
    fn pipeline(&self) -> Option<Pipeline> { ... }
    fn target(&self) -> Option<Object> { ... }
    fn object(&self) -> Option<Object> { ... }
    fn set_pipeline<P: IsA<Pipeline>>(&self, pipeline: Option<&P>) { ... }
    fn validate_parent(&self) -> Option<Monitor> { ... }
    fn connect_pipeline_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_verbosity_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Monitor methods.

§Implementors

ElementMonitor, Monitor, PadMonitor

Provided Methods§

source

fn element(&self) -> Option<Element>

§Returns

The GstElement associated with self

source

fn element_name(&self) -> Option<GString>

§Returns

The name of the element associated with self

source

fn pipeline(&self) -> Option<Pipeline>

§Returns

The pipeline in which self target is in.

source

fn target(&self) -> Option<Object>

§Returns

The target object

source

fn object(&self) -> Option<Object>

source

fn set_pipeline<P: IsA<Pipeline>>(&self, pipeline: Option<&P>)

source

fn validate_parent(&self) -> Option<Monitor>

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§