Trait IntoRole

Source
pub trait IntoRole {
    // Required method
    fn into_role() -> Role;
}

Required Methods§

Source

fn into_role() -> Role

Convert the type into a Role.

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§