pub type ConnectResult<M> = Result<(PeerId, AnyFramedTransport<M>), Error>;
Expand description
Result of a connection opening future
Aliased Type§
enum ConnectResult<M> {
Ok((PeerId, Box<dyn FramedTransport<M, Item = Result<M, Error>, Error = Error> + Unpin + Send>)),
Err(Error),
}