structured-asn1 0.15.0

Borrowed BER/DER parsing with shared work budgets and exact byte ranges
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Stable source identity, independent of a format or acquisition mechanism.

/// Original document identity and the exact immutable view generation.
/// A generation change invalidates earlier source-derived evidence.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Snapshot<D, G> {
    /// Stable identity supplied by the source owner, not a fingerprint.
    pub document: D,
    /// Generation under which source ranges and evidence were obtained.
    pub generation: G,
}