Skip to content

v0.15.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Aug 22:37

Breaking Changes

  • send_vectored renamed to sendv.

Added

  • sendv_all to write an entire vectored buffer to a writer.
use std::io::IoSlice;

let buf1 = b"part1";
let buf2 = b"part2";
let bufs = &mut [IoSlice::new(buf1), IoSlice::new(buf2)];

tun.sendv_all(bufs).await?;