pub trait Buffer:
Copy
+ AsRef<[u8]>
+ AsMut<[u8]> {
const ZERO: Self;
}Expand description
Fixed-size byte buffer. Implemented for [u8; N].
Used for the digest type of a HashAlgorithm.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".