twox_hash::xxhash3_64

Trait FixedBuffer

source
pub unsafe trait FixedBuffer: AsRef<[u8]> { }
Available on crate feature xxhash3_64 only.
Expand description

A buffer containing the secret bytes.

§Safety

Must always return a slice with the same number of elements.

Implementations on Foreign Types§

source§

impl FixedBuffer for Box<[u8]>

Available on crate feature alloc only.
source§

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

source§

impl<const N: usize> FixedBuffer for &mut [u8; N]

source§

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

Implementors§