Skip to main content

Checks

Struct Checks 

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

Every original object declaration, bound to this exact instruction catalogue. This checks hashes, not ZIP-to-XML production or manifest authentication.

Implementations§

Source§

impl<'c, 'v, 's, N: Copy, D: Copy + Eq, G: Copy + Eq, S: RangeSource> Checks<'c, 'v, 's, N, D, G, S>

Source

pub fn catalogue(&self) -> &'c Catalogue<'v, 's, N, D, G, S>

Exact original instruction set, including negative URI/schema outcomes.

Source

pub fn answers(&self) -> &[DigestReading]

One result for EVERY original DataObjectReference, in original order.

Source

pub fn all_match<W: Work>( &self, work: &W, ) -> Result<bool, ArchiveError<S::Error>>

Paid completed digest predicate only, never container/profile/trust.

Auto Trait Implementations§

§

impl<'c, 'v, 's, N, D, G, S> !Freeze for Checks<'c, 'v, 's, N, D, G, S>

§

impl<'c, 'v, 's, N, D, G, S> !RefUnwindSafe for Checks<'c, 'v, 's, N, D, G, S>

§

impl<'c, 'v, 's, N, D, G, S> !Send for Checks<'c, 'v, 's, N, D, G, S>

§

impl<'c, 'v, 's, N, D, G, S> !Sync for Checks<'c, 'v, 's, N, D, G, S>

§

impl<'c, 'v, 's, N, D, G, S> !UnwindSafe for Checks<'c, 'v, 's, N, D, G, S>

§

impl<'c, 'v, 's, N, D, G, S> Unpin for Checks<'c, 'v, 's, N, D, G, S>
where &'c Catalogue<'v, 's, N, D, G, S>: Unpin,

§

impl<'c, 'v, 's, N, D, G, S> UnsafeUnpin for Checks<'c, 'v, 's, N, D, G, S>
where &'c Catalogue<'v, 's, N, D, G, S>: UnsafeUnpin,

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.