Skip to main content

Source

Struct Source 

Source
pub struct Source<'q, 'v, 's, X: Xml, S: RangeSource, W: Work> { /* private fields */ }
Expand description

The actual original member and the view produced from its complete bytes. Only the closed driver constructs it. A caller cannot attach an independently parsed snapshot, assert a name match, or replace the narrowed current Work.

Implementations§

Source§

impl<'v, 's, X, S, W> Source<'_, 'v, 's, X, S, W>
where X: MemberReferences<'v, 's, S>, S: RangeSource, W: Work,

Source

pub fn assess<'a, A>( &self, evidence: Evidence<'a, A, X::Id, X::Document, X::Generation>, ) -> AssessmentResult<'a, A, X, S>

Reuses the complete B-B/B-T/B-LT/B-LTA composition for this ACTUAL XML source. Every nested counter/TSA/material obligation remains in those existing stage reports, not replaced by a container-wide success flag.

Source§

impl<'v, 's, X, S, W> Source<'_, 'v, 's, X, S, W>
where X: AttributeXml + MemberReferences<'v, 's, S>, S: RangeSource, W: Work,

Source

pub fn signatures(&self) -> InspectionResult<'v, 's, X, S>

Retains every original signature and its actual complete reference catalogue while the producing verification state is still alive.

Source§

impl<'v, 's, X: Xml, S: RangeSource, W: Work> Source<'_, 'v, 's, X, S, W>

Source

pub fn member(&self) -> &Member<'v, 's, S>

Actual complete original ZIP occurrence supplied to the XML owner.

Source

pub fn xml(&self) -> &X

Original produced view, preserving namespace and parent context.

Source

pub fn root(&self) -> X::Id

Actual original root.

Source

pub fn snapshot(&self) -> Snapshot<X::Document, X::Generation>

Snapshot observed from the actual produced view.

Source

pub fn execution(&self) -> &W

Same source/current operation used for acquisition and XML production.

Source§

impl<'q, 'v, 's, X, S, W> Source<'q, 'v, 's, X, S, W>

Source

pub fn package(&self, format: Format) -> InspectionResult<'v, 's, X, S>

Inspects package inventory only from this actual produced document. Filename association remains distinct from signature authentication.

Source

pub fn manifest(&self) -> ManifestResult<'q, 'v, 's, X, S, W>

Inspects and resolves the actual produced root, never an external node.

Auto Trait Implementations§

§

impl<'q, 'v, 's, X, S, W> !RefUnwindSafe for Source<'q, 'v, 's, X, S, W>

§

impl<'q, 'v, 's, X, S, W> !Send for Source<'q, 'v, 's, X, S, W>

§

impl<'q, 'v, 's, X, S, W> !Sync for Source<'q, 'v, 's, X, S, W>

§

impl<'q, 'v, 's, X, S, W> !UnwindSafe for Source<'q, 'v, 's, X, S, W>

§

impl<'q, 'v, 's, X, S, W> Freeze for Source<'q, 'v, 's, X, S, W>
where &'q Member<'v, 's, S>: Freeze, &'q X: Freeze, <X as Xml>::Id: Freeze, Snapshot<<X as Xml>::Document, <X as Xml>::Generation>: Freeze, &'q W: Freeze,

§

impl<'q, 'v, 's, X, S, W> Unpin for Source<'q, 'v, 's, X, S, W>
where &'q Member<'v, 's, S>: Unpin, &'q X: Unpin, <X as Xml>::Id: Unpin, Snapshot<<X as Xml>::Document, <X as Xml>::Generation>: Unpin, &'q W: Unpin,

§

impl<'q, 'v, 's, X, S, W> UnsafeUnpin for Source<'q, 'v, 's, X, S, W>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.