pub trait UnboundHangingDataChannelProxyInterface: Send + Sync {
type BindResponseFut: Future<Output = Result<UnboundHangingDataChannelBindResult, Error>> + Send;
type GetIdentifierResponseFut: Future<Output = Result<UnboundHangingDataChannelGetIdentifierResponse, Error>> + Send;
// Required methods
fn bind(
&self,
payload: UnboundHangingDataChannelBindRequest,
) -> Self::BindResponseFut;
fn get_identifier(&self) -> Self::GetIdentifierResponseFut;
}Required Associated Types§
type BindResponseFut: Future<Output = Result<UnboundHangingDataChannelBindResult, Error>> + Send
type GetIdentifierResponseFut: Future<Output = Result<UnboundHangingDataChannelGetIdentifierResponse, Error>> + Send
Required Methods§
fn bind( &self, payload: UnboundHangingDataChannelBindRequest, ) -> Self::BindResponseFut
fn get_identifier(&self) -> Self::GetIdentifierResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".