pub trait Provider: 'static {
type PathHandle: PathHandle;
type Error: 'static + Display + Send + Sync;
// Required method
fn start<E: Endpoint<PathHandle = Self::PathHandle>>(
self,
endpoint: E
) -> Result<SocketAddress, Self::Error>;
}
Required Associated Types§
type PathHandle: PathHandle
type Error: 'static + Display + Send + Sync
Required Methods§
fn start<E: Endpoint<PathHandle = Self::PathHandle>>( self, endpoint: E ) -> Result<SocketAddress, Self::Error>
Object Safety§
This trait is not object safe.