pub trait ChannelListenerRegistryProxyInterface: Send + Sync {
type ListenL2capResponseFut: Future<Output = Result<ChannelListenerRegistryListenL2capResult, Error>> + Send;
// Required method
fn listen_l2cap(
&self,
payload: ChannelListenerRegistryListenL2capRequest,
) -> Self::ListenL2capResponseFut;
}Required Associated Types§
type ListenL2capResponseFut: Future<Output = Result<ChannelListenerRegistryListenL2capResult, Error>> + Send
Required Methods§
fn listen_l2cap( &self, payload: ChannelListenerRegistryListenL2capRequest, ) -> Self::ListenL2capResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".