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§