Skip to main content

ResolutionSourceParser

Trait ResolutionSourceParser 

Source
pub trait ResolutionSourceParser: Send + Sync {
    // Required methods
    fn descriptor(&self) -> Result<ResolutionParserDescriptor, VNextError>;
    fn parse(
        &self,
        source: ResolutionDecisionSource,
        provenance: &ResolutionSourceProvenance,
        source_bytes: &[u8],
    ) -> Result<Value, VNextError>;
}
Expand description

Trusted parser implementation supplied by the composition root. Core records its exact identity and reruns it for every wire revalidation.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§