pub trait KeySizeUser {
type KeySize: ArrayLength<u8> + 'static;
// Provided method
fn key_size() -> usize { ... }
}
Available on crate feature
aead
only.Expand description
Required Associated Types§
Sourcetype KeySize: ArrayLength<u8> + 'static
type KeySize: ArrayLength<u8> + 'static
Key size in bytes.
Provided Methods§
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.