Trait ProviderProxyInterface
Source pub trait ProviderProxyInterface: Send + Sync {
type SocketResponseFut: Future<Output = Result<ProviderSocketResult, Error>> + Send;
type SocketWithOptionsResponseFut: Future<Output = Result<ProviderSocketWithOptionsResult, Error>> + Send;
// Required methods
fn socket(
&self,
domain: Domain,
proto: &ProtocolAssociation,
) -> Self::SocketResponseFut;
fn socket_with_options(
&self,
domain: Domain,
proto: &ProtocolAssociation,
opts: &SocketCreationOptions,
) -> Self::SocketWithOptionsResponseFut;
}