Buffer

Trait Buffer 

Source
pub trait Buffer: Sealed { }
Expand description

Either [u8; N] or Vec of u8

You can’t implement this trait for any other type than these two.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Buffer for Vec<u8>

Source§

impl<const N: usize> Buffer for [u8; N]

Implementors§