[−][src]Trait casbin::InternalApi
Required methods
#[must_use]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,
&'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,
#[must_use]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,
&'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,
#[must_use]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,
&'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,
#[must_use]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,
&'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,
#[must_use]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,
&'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,
Implementors
impl<T> InternalApi for T where
T: IEnforcer,
[src]
T: 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,
[src]
&'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,
[src]
&'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,
[src]
&'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,
[src]
&'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,
[src]
&'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,