Trait casbin::InternalApi[][src]

pub trait InternalApi: IEnforcer {
    fn add_policy_internal<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        sec: &'life1 str,
        ptype: &'life2 str,
        rule: Vec<String>
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn add_policies_internal<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        sec: &'life1 str,
        ptype: &'life2 str,
        rules: Vec<Vec<String>>
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn remove_policy_internal<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        sec: &'life1 str,
        ptype: &'life2 str,
        rule: Vec<String>
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn remove_policies_internal<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        sec: &'life1 str,
        ptype: &'life2 str,
        rules: Vec<Vec<String>>
    ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
fn remove_filtered_policy_internal<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        sec: &'life1 str,
        ptype: &'life2 str,
        field_index: usize,
        field_values: Vec<String>
    ) -> Pin<Box<dyn Future<Output = Result<(bool, Vec<Vec<String>>)>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }

Required methods

Implementors