Trait casbin::TryIntoModel[][src]

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

Required methods

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

Loading content...

Implementations on Foreign Types

impl TryIntoModel for &'static str[src]

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

Loading content...

Implementors

impl<T> TryIntoModel for T where
    T: Model + 'static, 
[src]

Loading content...