use Future;
use ;
pub
pub
/// Async vectored-write capability for a transport write half.
///
/// Separate from `AsyncWrite` because `try_write_vectored` + `writable` are a
/// readiness-based pattern (try → `WouldBlock` → await readiness → retry) that
/// doesn't map onto `AsyncWrite::poll_write`. The vectored write avoids copying
/// frame payloads out of `Bytes` into a single contiguous buffer, which is the
/// whole point of the engine's `VectoredWriter`.
///
/// To add a new runtime, create a sibling module (e.g. `smol.rs`) and
/// implement this trait for that runtime's write half type.