pub struct EnrichedImporterOutput {
pub entries: Vec<(DirectiveWrapper, EnrichmentWrapper)>,
pub warnings: Vec<String>,
pub errors: Vec<PluginError>,
}Expand description
Wire-format output returned from a WASM importer’s
extract_enriched. Each directive is paired with per-directive
categorization metadata.
Fields§
§entries: Vec<(DirectiveWrapper, EnrichmentWrapper)>Directive–enrichment pairs, parallel to ImporterOutput.directives.
warnings: Vec<String>Warnings encountered during extraction (non-fatal).
errors: Vec<PluginError>Fatal-but-recoverable errors. Same semantics as
ImporterOutput::errors.
Trait Implementations§
Source§impl Clone for EnrichedImporterOutput
impl Clone for EnrichedImporterOutput
Source§fn clone(&self) -> EnrichedImporterOutput
fn clone(&self) -> EnrichedImporterOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnrichedImporterOutput
impl Debug for EnrichedImporterOutput
Source§impl<'de> Deserialize<'de> for EnrichedImporterOutput
impl<'de> Deserialize<'de> for EnrichedImporterOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnrichedImporterOutput
impl RefUnwindSafe for EnrichedImporterOutput
impl Send for EnrichedImporterOutput
impl Sync for EnrichedImporterOutput
impl Unpin for EnrichedImporterOutput
impl UnsafeUnpin for EnrichedImporterOutput
impl UnwindSafe for EnrichedImporterOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more