[][src]Trait casbin::TryIntoAdapter

pub trait TryIntoAdapter: Send + Sync {
#[must_use]    fn try_into_adapter<'async_trait>(
        self
    ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Required methods

#[must_use]fn try_into_adapter<'async_trait>(
    self
) -> Pin<Box<dyn Future<Output = Result<Box<dyn Adapter>>> + Send + 'async_trait>> where
    Self: 'async_trait, 

Loading content...

Implementations on Foreign Types

impl TryIntoAdapter for &'static str[src]

impl<T> TryIntoAdapter for Option<T> where
    T: TryIntoAdapter
[src]

impl TryIntoAdapter for ()[src]

Loading content...

Implementors

impl<T> TryIntoAdapter for T where
    T: Adapter + 'static, 
[src]

Loading content...