Trait wireplumber::session::SiAdapterExt

source ·
pub trait SiAdapterExt: IsA<SiAdapter> + Sealed + 'static {
    // Provided methods
    fn ports_format(&self) -> (SpaPod, Option<GString>) { ... }
    fn ports_state(&self) -> SiAdapterPortsState { ... }
    fn connect_adapter_ports_state_changed<F: Fn(&Self, SiAdapterPortsState, SiAdapterPortsState) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn ports_format(&self) -> (SpaPod, Option<GString>)

source

fn ports_state(&self) -> SiAdapterPortsState

Available on crate feature v0_4_10 only.
source

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

Available on crate feature v0_4_10 only.

Object Safety§

This trait is not object safe.

Implementors§