Trait wireplumber::core::ObjectExt  
source · pub trait ObjectExt: IsA<Object> + Sealed + 'static {
    // Provided methods
    fn abort_activation(&self, msg: &str) { ... }
    fn activate<P: FnOnce(Result<(), Error>) + 'static>(
        &self,
        features: ObjectFeatures,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ) { ... }
    fn activate_future(
        &self,
        features: ObjectFeatures
    ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>> { ... }
    fn activate_closure(
        &self,
        features: ObjectFeatures,
        cancellable: Option<&impl IsA<Cancellable>>,
        closure: Closure
    ) { ... }
    fn deactivate(&self, features: ObjectFeatures) { ... }
    fn active_features(&self) -> ObjectFeatures { ... }
    fn core(&self) -> Option<Core> { ... }
    fn supported_features(&self) -> ObjectFeatures { ... }
    fn update_features(
        &self,
        activated: ObjectFeatures,
        deactivated: ObjectFeatures
    ) { ... }
    fn connect_active_features_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_supported_features_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}Provided Methods§
fn abort_activation(&self, msg: &str)
Available on crate feature 
v0_4_6 only.fn activate<P: FnOnce(Result<(), Error>) + 'static>( &self, features: ObjectFeatures, cancellable: Option<&impl IsA<Cancellable>>, callback: P )
fn activate_future( &self, features: ObjectFeatures ) -> Pin<Box_<dyn Future<Output = Result<(), Error>> + 'static>>
fn activate_closure( &self, features: ObjectFeatures, cancellable: Option<&impl IsA<Cancellable>>, closure: Closure )
fn deactivate(&self, features: ObjectFeatures)
fn active_features(&self) -> ObjectFeatures
fn core(&self) -> Option<Core>
fn supported_features(&self) -> ObjectFeatures
fn update_features( &self, activated: ObjectFeatures, deactivated: ObjectFeatures )
fn connect_active_features_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
fn connect_supported_features_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId
Object Safety§
This trait is not object safe.