Skip to main content

ParsedHistory

Struct ParsedHistory 

Source
pub struct ParsedHistory<'h, 'a, 's, D, G> { /* private fields */ }
Expand description

Once-parsed material in every actual historical window.

Implementations§

Source§

impl<'h, 's, D: Copy + Eq, G: Copy + Eq> ParsedHistory<'h, '_, 's, D, G>

Source

pub fn revisions(&self) -> &[Parsed<'h, 's, D, G>]

Same full original material windows; no successful-prefix selection.

Source

pub async fn index<'q, 'm: 'q, 'd, 'tokens: 'q, 'p, S, P>( &'q self, basic: &Basic<'_, '_, '_, 'm, 'd, '_, 's, '_, D, G>, pool: &'q Pool<'_, 'm, 'd>, timestamps: &'q Models<'tokens, '_, '_, 's, D, G>, provider: &'p P, query: &Query<'q, 's, S>, ) -> Result<Unified<'q, 'd, D, G>, SourceError<S::Error, P::Error>>
where S: RangeSource<Document = D, Generation = G>, P: AsnDigest<'p>, 'd: 'q, 'h: 'q,

Transfer the original complete inner index, preserving every embedded certificate and original occurrence, then append all historical DSS.

§Panics

Panics if a known parsed timestamp no longer has its retained original contents.

Auto Trait Implementations§

§

impl<'h, 'a, 's, D, G> !Freeze for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> !RefUnwindSafe for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> !Send for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> !Sync for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> !UnwindSafe for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> Forget for ParsedHistory<'h, 'a, 's, D, G>

§

impl<'h, 'a, 's, D, G> Unpin for ParsedHistory<'h, 'a, 's, D, G>
where &'h History<'a, 's, D, G>: Unpin, OwnedVec<Parsed<'h, 's, D, G>>: Unpin,

§

impl<'h, 'a, 's, D, G> UnsafeUnpin for ParsedHistory<'h, 'a, 's, D, G>
where &'h History<'a, 's, D, G>: UnsafeUnpin, OwnedVec<Parsed<'h, 's, D, G>>: 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.