pub trait Sealed<H: OutputSizeUser> {
type Core: Clone;
// Required methods
fn new_from_slice(key: &[u8]) -> Self;
fn new_core(key: &[u8]) -> Self::Core;
fn from_core(core: &Self::Core) -> Self;
fn update(&mut self, data: &[u8]);
fn finalize(self) -> Output<H>;
}Required Associated Types§
Required Methods§
fn new_from_slice(key: &[u8]) -> Self
fn new_core(key: &[u8]) -> Self::Core
fn from_core(core: &Self::Core) -> Self
fn update(&mut self, data: &[u8])
fn finalize(self) -> Output<H>
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.