Skip to main content

Report

Struct Report 

Source
pub struct Report<'model, 'document, 'path, E> { /* private fields */ }
Expand description

Complete original root/counter results. A negative later credential does not disappear behind the successful prefix, and no complete receipt exists.

Implementations§

Source§

impl<'m, 'd, 'p, E> Report<'m, 'd, 'p, E>

Source

pub fn root(&self) -> &[Checked<'m, 'd, 'p, E>]

Every original root credential, including absent/rejected/unsupported.

Source

pub fn counters(&self) -> usize

Number of counter groups with original credentials.

Source

pub fn counter<W: Work>( &self, ordinal: usize, work: &W, ) -> Result<Option<CounterGroup<'_, 'm, 'd, 'p, E>>, MemoryError>

One original counter group after current metadata admission. Absence is distinct from refusal; the caller cannot traverse attacker-sized groups through an infallible iterator that bypasses current Work.

Source

pub fn complete(&self) -> Option<Complete<'_, 'm, 'd, 'p, E>>

Complete actual authority-input census, only after ALL original values authenticated with nonempty/explicit authority facts.

Auto Trait Implementations§

§

impl<'model, 'document, 'path, E> !Freeze for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> !RefUnwindSafe for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> !Send for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> !Sync for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> !UnwindSafe for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> Forget for Report<'model, 'document, 'path, E>

§

impl<'model, 'document, 'path, E> Unpin for Report<'model, 'document, 'path, E>
where Group<'model, 'document, 'path, E>: Unpin, OwnedVec<Group<'model, 'document, 'path, E>>: Unpin,

§

impl<'model, 'document, 'path, E> UnsafeUnpin for Report<'model, 'document, 'path, E>
where Group<'model, 'document, 'path, E>: UnsafeUnpin, OwnedVec<Group<'model, 'document, 'path, E>>: 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.