Skip to main content

Seals

Struct Seals 

Source
pub struct Seals<'s, R, D, G> { /* private fields */ }
Expand description

Every original document timestamp in source order. An absent report is an explicitly unassessed occurrence, not successful absence of a timestamp. Early signature-existence timestamps need not already carry LT material; no aggregate here relabels them as failed LTA renewals or hides their facts.

Implementations§

Source§

impl<'s, R, D: Copy, G: Copy> Seals<'s, R, D, G>

Source

pub fn len(&self) -> usize

Complete original count, including unassessed and failed occurrences.

Source

pub fn is_empty(&self) -> bool

Actual absence of document timestamp occurrences.

Source

pub fn source(&self, ordinal: usize) -> Option<Location<Node, D, G>>

Exact original token location, with an explicit missing-Contents node.

Source

pub fn revision(&self, ordinal: usize) -> Option<usize>

Exact whole-revision coverage, absent for an unreadable/partial source.

Source

pub fn report(&self, ordinal: usize) -> Option<&'s R>

Original paired material report at this ordinal. Its negative findings remain available independently of another occurrence’s successful seal.

Auto Trait Implementations§

§

impl<'s, R, D, G> !Freeze for Seals<'s, R, D, G>

§

impl<'s, R, D, G> !RefUnwindSafe for Seals<'s, R, D, G>

§

impl<'s, R, D, G> !Send for Seals<'s, R, D, G>

§

impl<'s, R, D, G> !Sync for Seals<'s, R, D, G>

§

impl<'s, R, D, G> !UnwindSafe for Seals<'s, R, D, G>

§

impl<'s, R, D, G> Forget for Seals<'s, R, D, G>

§

impl<'s, R, D, G> Unpin for Seals<'s, R, D, G>
where OwnedVec<Occurrence<D, G>>: Unpin, &'s [Option<&'s R>]: Unpin, &'s TimestampRequirements<Node, D, G, Pades>: Unpin,

§

impl<'s, R, D, G> UnsafeUnpin for Seals<'s, R, D, G>
where OwnedVec<Occurrence<D, G>>: UnsafeUnpin, &'s [Option<&'s R>]: UnsafeUnpin, &'s TimestampRequirements<Node, D, G, Pades>: 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.