Skip to main content

Perm

Trait Perm 

Source
pub trait Perm:
    FromPrimitive
    + ToPrimitive
    + Copy
    + Eq
    + Hash
    + Debug
    + Sync
    + Send
    + 'static {
    type Auth;

    const NOT_FOUND: MgmtError;
    const TEST_EXISTENCE: Self;
}

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".

Implementors§

Source§

impl Perm for TablePermission

Source§

const TEST_EXISTENCE: TablePermission = TablePermission::TestExistence

Source§

const NOT_FOUND: MgmtError = ME::GameNotFound

Source§

type Auth = InstanceName