pub trait Provider: 'static {
type PathHandle: PathHandle;
type Error: 'static + Display;
fn start<E: Endpoint<PathHandle = Self::PathHandle>>(
self,
endpoint: E
) -> Result<SocketAddress, Self::Error>;
}
pub trait Provider: 'static {
type PathHandle: PathHandle;
type Error: 'static + Display;
fn start<E: Endpoint<PathHandle = Self::PathHandle>>(
self,
endpoint: E
) -> Result<SocketAddress, Self::Error>;
}