Trait wireplumber::session::SiAdapterExt2
source · pub trait SiAdapterExt2: 'static {
// Required methods
fn set_ports_format<P: FnOnce(Result<(), Error>) + Send + 'static>(
&self,
format: Option<&SpaPod>,
mode: Option<&str>,
callback: P
);
fn set_ports_format_future(
&self,
format: Option<SpaPod>,
mode: Option<String>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>;
}
Required Methods§
fn set_ports_format<P: FnOnce(Result<(), Error>) + Send + 'static>( &self, format: Option<&SpaPod>, mode: Option<&str>, callback: P )
fn set_ports_format_future( &self, format: Option<SpaPod>, mode: Option<String> ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 'static>>
Object Safety§
This trait is not object safe.