Skip to main content

Inspection

Struct Inspection 

Source
pub struct Inspection<'c, 'v, 's, S: RangeSource> { /* private fields */ }
Expand description

Complete paid layout pass. This does not attest XML schema, actual signed coverage, MIME association, archive continuity or any signature’s level.

Implementations§

Source§

impl<'c, 'v, 's, S: RangeSource> Inspection<'c, 'v, 's, S>

Source

pub fn read<W: Work>( census: &'c Census<'v, 's, S>, form: Form, rules: Rules, work: &W, ) -> Result<Self, Error<S::Error>>

Checks every original occurrence. Resource/source refusal is terminal; a readable negative member never becomes a successful partial census.

§Panics

An internal immutable census invariant fails if its bounded ordinal or retained fault ordinal is absent from the same original archive.

Source

pub fn census(&self) -> &'c Census<'v, 's, S>

Exact complete original role catalogue used by this pass.

Source

pub fn form(&self) -> Form

Explicit requested form.

Source

pub fn rules(&self) -> Rules

Explicit requested normative rule set.

Source

pub fn defined(&self) -> bool

Whether this rule set defines the requested format route.

Source

pub fn required_layout(&self) -> Option<bool>

Only file layout, with recommendations independent. None means the selected standard does not define this route, not a successful baseline.

Source

pub fn issues<'q, W: Work>( &'q self, work: &'q W, ) -> impl Iterator<Item = SourceResult<Issue<<S as RangeSource>::Document, <S as RangeSource>::Generation>, S>> + use<'q, 'c, 'v, 's, S, W>

Full paid issue traversal, with first resource refusal followed by None.

Auto Trait Implementations§

§

impl<'c, 'v, 's, S> !Freeze for Inspection<'c, 'v, 's, S>

§

impl<'c, 'v, 's, S> !RefUnwindSafe for Inspection<'c, 'v, 's, S>

§

impl<'c, 'v, 's, S> !Send for Inspection<'c, 'v, 's, S>

§

impl<'c, 'v, 's, S> !Sync for Inspection<'c, 'v, 's, S>

§

impl<'c, 'v, 's, S> !UnwindSafe for Inspection<'c, 'v, 's, S>

§

impl<'c, 'v, 's, S> Unpin for Inspection<'c, 'v, 's, S>
where &'c Census<'v, 's, S>: Unpin, OwnedVec<Issue<<S as RangeSource>::Document, <S as RangeSource>::Generation>>: Unpin,

§

impl<'c, 'v, 's, S> UnsafeUnpin for Inspection<'c, 'v, 's, S>

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.