Skip to main content

owned_source

Function owned_source 

Source
pub fn owned_source<X: OwnedBinaryXml>(
    xml: &X,
    location: Location<X::Id, X::Document, X::Generation>,
    operation: &Reader<'_>,
) -> AccessResult<LocatedValue<OwnedDecoded, X>, X>
Expand description

Retains a source for simultaneous material checking without a second decode. Original XML identity accompanies every source in a multi-source catalogue. Like owned, this does not itself establish the material’s PKI schema, authenticity, completeness or trust.