[go: up one dir, main page]

Trait InnerInit

Source
pub trait InnerInit: Sized + InnerUser {
    // Required method
    fn inner_init(inner: Self::Inner) -> Self;
}
Available on crate feature mac only.
Expand description

Types which can be initialized from another type (usually block ciphers).

Usually used for initializing types from block ciphers.

Required Methods§

Source

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.

Implementors§