Skip to main content

ProviderWatcherProxyInterface

Trait ProviderWatcherProxyInterface 

Source
pub trait ProviderWatcherProxyInterface: Send + Sync {
    type OnPairingCompleteResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required method
    fn on_pairing_complete(
        &self,
        id: &PeerId,
    ) -> Self::OnPairingCompleteResponseFut;
}

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§