pub trait InnerInit: Sized + InnerUser {
// Required method
fn inner_init(inner: Self::Inner) -> Self;
}
Expand description
Types which can be initialized from another type (usually block ciphers).
Usually used for initializing types from block ciphers.
Required Methods§
Sourcefn inner_init(inner: Self::Inner) -> Self
fn inner_init(inner: Self::Inner) -> Self
Initialize value from the inner
.
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.