//! Core transport trait contracts shared by native and WebAssembly backends.
use Future;
use Pin;
use crate::;
/// Local boxed future used by transport traits.
pub type LocalBoxFuture<'a, T> = ;
/// Cross-platform WebSocket connection contract.
///
/// Native and WebAssembly implementations can provide this trait to expose
/// a shared async shape without changing their concrete public APIs.