Trait neure::ctx::PolicyMatch

source ·
pub trait PolicyMatch<C, B> {
    // Required method
    fn try_mat_policy<Pat>(
        &mut self,
        pat: &Pat,
        b_policy: &B
    ) -> Result<Pat::Ret, Error>
       where Pat: Regex<C> + ?Sized;
}

Required Methods§

source

fn try_mat_policy<Pat>( &mut self, pat: &Pat, b_policy: &B ) -> Result<Pat::Ret, Error>where Pat: Regex<C> + ?Sized,

Implementors§

source§

impl<'a, I, B> PolicyMatch<PolicyCtx<I, B>, B> for PolicyCtx<I, B>where B: BPolicy<I>, I: Context<'a>, Self: Context<'a>,

source§

impl<'a, T, B> PolicyMatch<RegexCtx<'a, T>, B> for RegexCtx<'a, T>where T: ?Sized, Self: Context<'a>, B: BPolicy<RegexCtx<'a, T>>,