Trait IdKindSubset

Source
pub trait IdKindSubset {
    // Required methods
    fn contains(kind: Kind) -> bool;
    fn name() -> &'static str;
}
Expand description

Describes a specific subset of Authly ID kinds.

Required Methods§

Source

fn contains(kind: Kind) -> bool

Whether the subset contains the given Kind.

Source

fn name() -> &'static str

The name of this subset.

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§