Trait wireplumber::pw::PipewireObjectExt

source ·
pub trait PipewireObjectExt: IsA<PipewireObject> + Sealed + 'static {
    // Provided methods
    fn enum_params<P: FnOnce(Result<Option<Iterator>, Error>) + 'static>(
        &self,
        id: Option<&str>,
        filter: Option<&SpaPod>,
        cancellable: Option<&impl IsA<Cancellable>>,
        callback: P
    ) { ... }
    fn enum_params_future(
        &self,
        id: Option<&str>,
        filter: Option<&SpaPod>
    ) -> Pin<Box_<dyn Future<Output = Result<Option<Iterator>, Error>> + 'static>> { ... }
    fn enum_params_sync(
        &self,
        id: &str,
        filter: Option<&SpaPod>
    ) -> Option<Iterator> { ... }
    fn param_info(&self) -> Option<Variant> { ... }
    fn properties(&self) -> Option<Properties> { ... }
    fn new_properties_iterator(&self) -> Option<Iterator> { ... }
    fn set_param(&self, id: &str, flags: u32, param: SpaPod) -> bool { ... }
    fn connect_params_changed<F: Fn(&Self, &str) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_native_info_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_param_info_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_properties_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn enum_params<P: FnOnce(Result<Option<Iterator>, Error>) + 'static>( &self, id: Option<&str>, filter: Option<&SpaPod>, cancellable: Option<&impl IsA<Cancellable>>, callback: P )

source

fn enum_params_future( &self, id: Option<&str>, filter: Option<&SpaPod> ) -> Pin<Box_<dyn Future<Output = Result<Option<Iterator>, Error>> + 'static>>

source

fn enum_params_sync( &self, id: &str, filter: Option<&SpaPod> ) -> Option<Iterator>

source

fn param_info(&self) -> Option<Variant>

source

fn properties(&self) -> Option<Properties>

source

fn new_properties_iterator(&self) -> Option<Iterator>

source

fn set_param(&self, id: &str, flags: u32, param: SpaPod) -> bool

source

fn connect_params_changed<F: Fn(&Self, &str) + 'static>( &self, f: F ) -> SignalHandlerId

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§