pub trait IpNetworkDriver {
type TcpSocket;
type TcpError: Into<TcpError> + Debug;
type DnsError: Into<DnsError> + Debug;
// Required methods
fn tcp(
&self,
) -> &dyn TcpStack<TcpSocket = Self::TcpSocket, Error = Self::TcpError>;
fn dns(&self) -> &dyn Dns<Error = Self::DnsError>;
}Expand description
Aggregation and homegenation of IP network stacks