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>
impl<'h, 's, D: Copy + Eq, G: Copy + Eq> ParsedHistory<'h, '_, 's, D, G>
Sourcepub fn revisions(&self) -> &[Parsed<'h, 's, D, G>]
pub fn revisions(&self) -> &[Parsed<'h, 's, D, G>]
Same full original material windows; no successful-prefix selection.
Sourcepub 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,
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>
impl<'h, 'a, 's, D, G> UnsafeUnpin for ParsedHistory<'h, 'a, 's, D, G>
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