[][src]Trait gstreamer_check::prelude::DeviceProviderExt

pub trait DeviceProviderExt: 'static {
    fn can_monitor(&self) -> bool;
fn device_add<P>(&self, device: &P)
    where
        P: IsA<Device>
;
fn device_remove<P>(&self, device: &P)
    where
        P: IsA<Device>
;
fn get_bus(&self) -> Bus;
fn get_devices(&self) -> Vec<Device>;
fn get_factory(&self) -> Option<DeviceProviderFactory>;
fn get_hidden_providers(&self) -> Vec<GString>;
fn hide_provider(&self, name: &str);
fn start(&self) -> Result<(), BoolError>;
fn stop(&self);
fn unhide_provider(&self, name: &str);
fn connect_provider_hidden<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &str)
;
fn connect_provider_unhidden<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &str)
; }

Required methods

fn can_monitor(&self) -> bool

fn device_add<P>(&self, device: &P) where
    P: IsA<Device>, 

fn device_remove<P>(&self, device: &P) where
    P: IsA<Device>, 

fn get_bus(&self) -> Bus

fn get_devices(&self) -> Vec<Device>

fn get_factory(&self) -> Option<DeviceProviderFactory>

fn get_hidden_providers(&self) -> Vec<GString>

fn hide_provider(&self, name: &str)

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

fn stop(&self)

fn unhide_provider(&self, name: &str)

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

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

Loading content...

Implementors

impl<O> DeviceProviderExt for O where
    O: IsA<DeviceProvider>, 
[src]

Loading content...