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, Error = Error, Item = Result<M, Error>> + Send + Unpin>)),
Err(Error),
}