pub trait KeyPart {
// Required methods
fn new() -> Self;
fn get_name(&self) -> &'static str;
fn get_bytes(&self) -> &'static [u8] ⓘ;
}Required 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.