pub trait NativeTransportInstaller: Send + Sync {
// Required methods
fn id(&self) -> &'static str;
fn is_requested(&self, config: &TransportConfig) -> bool;
fn install(
&self,
client: Arc<Client>,
config: TransportConfig,
context: NativeTransportInstallContext,
) -> NativeTransportInstallFuture;
}Expand description
Host-supplied implementation for a native transport that cannot be bundled in the publishable Tauri plugin. The OpenRTC constructor remains the sole activation switch; registering an installer only declares compiled support.
Required Methods§
fn id(&self) -> &'static str
fn is_requested(&self, config: &TransportConfig) -> bool
fn install( &self, client: Arc<Client>, config: TransportConfig, context: NativeTransportInstallContext, ) -> NativeTransportInstallFuture
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".