matcher
Module: matcher
Section titled “Module: matcher”Contents
Section titled “Contents”Structs
CompiledMatcher- A compiled, ready-to-run secret matcher.
Traits
MatcherCompiler- Compiles an inner [SecretMatcher] into a [CompiledMatcher].
firma_secret_provider::matcher::CompiledMatcher
Section titled “firma_secret_provider::matcher::CompiledMatcher”Struct
A compiled, ready-to-run secret matcher.
Methods:
fn compile(spec: &SecretMatcher) -> Result<Self, MatcherError>- Compile and validate a matcher spec.fn rewrite<impl FnMut(String, SecretString, HashSet<Authority>, Option<String>) -> SecretPlaceholder>(self: &Self, output: &[u8], mint: & mut impl Trait) -> Result<Vec<u8>, MatcherError>- Extract secrets fromoutputand return it rewritten with placeholders.
Trait Implementations:
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
firma_secret_provider::matcher::MatcherCompiler
Section titled “firma_secret_provider::matcher::MatcherCompiler”Trait
Compiles an inner [SecretMatcher] into a [CompiledMatcher].
Methods:
Okcompile: Compile and validate a matcher spec.