[−][src]Trait allow_me::matcher::ResourceMatcher
Trait to extend Policy engine core resource matching.
Associated Types
Loading content...Required methods
pub fn do_match(
&self,
context: &Request<Self::Context>,
input: &str,
policy: &str
) -> bool[src]
&self,
context: &Request<Self::Context>,
input: &str,
policy: &str
) -> bool
This method is being called by Policy when it tries to match a Request to
a resource in the policy rules.
Implementors
impl ResourceMatcher for Default[src]
type Context = ()
pub fn do_match(
&self,
_context: &Request<Self::Context>,
input: &str,
policy: &str
) -> bool[src]
&self,
_context: &Request<Self::Context>,
input: &str,
policy: &str
) -> bool