libp2p::websocket

Type Alias InnerFuture

Source
pub type InnerFuture<T, E> = Pin<Box<dyn Future<Output = Result<Connection<T>, Error<E>>> + Send>>;
Available on crate feature websocket and non-WebAssembly only.
Expand description

Type alias corresponding to framed::WsConfig::Dial and framed::WsConfig::ListenerUpgrade.

Aliased Typeยง

struct InnerFuture<T, E> {}