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>
impl<'m, 'd, 'p, E> Report<'m, 'd, 'p, E>
Sourcepub fn root(&self) -> &[Checked<'m, 'd, 'p, E>]
pub fn root(&self) -> &[Checked<'m, 'd, 'p, E>]
Every original root credential, including absent/rejected/unsupported.
Sourcepub fn counter<W: Work>(
&self,
ordinal: usize,
work: &W,
) -> Result<Option<CounterGroup<'_, 'm, 'd, 'p, E>>, MemoryError>
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.
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>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more