Skip to main content

VecU8

Trait VecU8 

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

Something that looks like a Vec<u8>.

§Safety

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl VecU8 for &mut Vec<u8>

Source§

impl VecU8 for Vec<u8>

Implementors§