Trait tokio::io::util::vec_with_initialized::VecU8

source ·
pub(crate) unsafe trait VecU8: AsRef<Vec<u8>> + AsMut<Vec<u8>> { }
Expand description

Something that looks like a Vec<u8>.

§Safety

The implementor must guarantee that the vector returned by the as_mut and as_mut methods do not change from one call to another.

Implementations on Foreign Types§

source§

impl VecU8 for &mut Vec<u8>

source§

impl VecU8 for Vec<u8>

Implementors§