pub struct Report<'a, 'document> { /* private fields */ }Expand description
Complete, possibly negative sequence report, bound to this original record.
Implementations§
Source§impl<'a, 'd> Report<'a, 'd>
impl<'a, 'd> Report<'a, 'd>
Sourcepub fn into_parts(
self,
) -> (&'a EvidenceRecord<'d>, OwnedVec<Checked<'a>>, OwnedVec<OrderFinding>, bool)
pub fn into_parts( self, ) -> (&'a EvidenceRecord<'d>, OwnedVec<Checked<'a>>, OwnedVec<OrderFinding>, bool)
Moves complete results for a higher-level source-bound format adapter. Order is the stored reverse execution order; each checked index remains original. The boolean is this report’s private computed closure result, not a constructor for another common receipt.
Sourcepub fn checks(
&self,
) -> impl DoubleEndedIterator<Item = &Checked<'a>> + ExactSizeIterator
pub fn checks( &self, ) -> impl DoubleEndedIterator<Item = &Checked<'a>> + ExactSizeIterator
Results in ORIGINAL order, although historical checks run newest first.
Sourcepub fn ordering(&self) -> &[OrderFinding]
pub fn ordering(&self) -> &[OrderFinding]
Every failed/uncertain adjacent comparison, with original ordinals.
Auto Trait Implementations§
impl<'a, 'document> !Freeze for Report<'a, 'document>
impl<'a, 'document> !RefUnwindSafe for Report<'a, 'document>
impl<'a, 'document> !Send for Report<'a, 'document>
impl<'a, 'document> !Sync for Report<'a, 'document>
impl<'a, 'document> !UnwindSafe for Report<'a, 'document>
impl<'a, 'document> Unpin for Report<'a, 'document>
impl<'a, 'document> UnsafeUnpin for Report<'a, 'document>
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