Skip to main content

Scopes

Trait Scopes 

Source
pub trait Scopes:
    Send
    + Sync
    + 'static {
    const SCOPES: &'static [&'static str];
}
Expand description

Required scopes, as a marker type (const &str generics are unstable).

Declare one with the scopes! macro.

Required Associated Constants§

Source

const SCOPES: &'static [&'static str]

The scopes a request must hold.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl Scopes for NoScopes

Source§

const SCOPES: &'static [&'static str]