pub trait InitExpandMessage<'x> {
type Expander: ExpandMessageState<'x>;
// Required method
fn init_expand(
message: &[u8],
dst: &'x [u8],
len_in_bytes: usize,
) -> Self::Expander;
}
Expand description
Trait for constructing a new message expander.
Required Associated Types§
Sourcetype Expander: ExpandMessageState<'x>
type Expander: ExpandMessageState<'x>
The state object used during message expansion.
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.