[][src]Struct lightspeed_core::service::auth::AuthService

pub struct AuthService<T: RolesProvider> { /* fields omitted */ }

Implementations

impl<T: RolesProvider> AuthService<T>[src]

pub fn new(roles_provider: T) -> AuthService<T>[src]

pub fn auth(&self, auth: Auth) -> AuthContext<'_>[src]

Trait Implementations

impl<T: Clone + RolesProvider> Clone for AuthService<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for AuthService<T> where
    T: RefUnwindSafe

impl<T> Send for AuthService<T>

impl<T> Sync for AuthService<T>

impl<T> Unpin for AuthService<T> where
    T: Unpin

impl<T> UnwindSafe for AuthService<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,