Skip to main content

Historical

Struct Historical 

Source
pub struct Historical<'a, 'token> {
    pub index: usize,
    pub current: &'a CheckedTimestamp<'token>,
    pub selection: &'a Selection<'token>,
    pub following: Option<&'a Evidence>,
    pub following_chain: Option<&'a Evidence>,
    pub verification_time: Instant,
}
Expand description

Facts for historical validation, never a request to infer trust from genTime.

Fields§

§index: usize

Original flat timestamp ordinal.

§current: &'a CheckedTimestamp<'token>

Complete common result for the actual selected original token.

§selection: &'a Selection<'token>

Candidate/key used by this same common check.

§following: Option<&'a Evidence>

Next token’s successful mathematical facts, when present.

§following_chain: Option<&'a Evidence>

First token of the next chain: the tree algorithm must remain suitable through this renewal, even for earlier tokens in the current chain.

§verification_time: Instant

Explicit current verification reference for the final timestamp.

Auto Trait Implementations§

§

impl<'a, 'token> !RefUnwindSafe for Historical<'a, 'token>

§

impl<'a, 'token> !Send for Historical<'a, 'token>

§

impl<'a, 'token> !Sync for Historical<'a, 'token>

§

impl<'a, 'token> !UnwindSafe for Historical<'a, 'token>

§

impl<'a, 'token> Freeze for Historical<'a, 'token>

§

impl<'a, 'token> Unpin for Historical<'a, 'token>

§

impl<'a, 'token> UnsafeUnpin for Historical<'a, 'token>

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.