Skip to main content

RoleT

Trait RoleT 

Source
pub trait RoleT:
    Clone
    + Copy
    + Debug
    + Hash
    + Ord
    + PartialOrd
    + Eq
    + PartialEq
    + Serialize
    + DeserializeOwned
    + Send
    + Sync
    + 'static
    + Sealed {
    type Opposite: RoleT;

    const ROLE: Option<Role>;
}

Required Associated Constants§

Required Associated Types§

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§