Skip to main content

Access

Trait Access 

Source
pub trait Access:
    Send
    + Sync
    + 'static {
    const LEVEL: AccessLevel;
}
Expand description

How much session an endpoint needs. It decides what Ctx::session returns.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Access for Authenticated

Source§

const LEVEL: AccessLevel = AccessLevel::Required

Source§

impl Access for Fresh

Source§

const LEVEL: AccessLevel = AccessLevel::Fresh

Source§

impl Access for MaybeAuthenticated

Source§

const LEVEL: AccessLevel = AccessLevel::Optional

Source§

impl Access for Public

Source§

const LEVEL: AccessLevel = AccessLevel::Public