Trait cros_asyncv2::iobuf::AsIoBufs
source · [−]pub unsafe trait AsIoBufs {
fn as_iobufs(&mut self) -> &[IoBufMut<'_>];
}
Expand description
A trait for describing regions of memory to be used for IO.
Safety
Types that implement this trait must guarantee that the memory regions described by
as_iobufs()
are valid for the lifetime of the borrow.