Skip to main content

History

Struct History 

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

Every historical DSS window, including explicit absent dictionaries. The original root/source membership cannot be replaced with a caller subset.

Implementations§

Source§

impl<'a, 's, D: Copy + Eq, G: Copy + Eq> History<'a, 's, D, G>

Source

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

Historical owners in original revision order, including absent DSS.

Source

pub fn parse<'h>( &'h self, operation: &'h impl Work, ) -> Result<ParsedHistory<'h, 'a, 's, D, G>, HistoryError>

Parses each actual original window once, keeping every negative source.

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

impl<'a, 's, D, G> Forget for History<'a, 's, D, G>

§

impl<'a, 's, D, G> Unpin for History<'a, 's, D, G>
where Signature<'a, 's, D, G>: Unpin, OwnedVec<Validation<'s, D, G>>: Unpin,

§

impl<'a, 's, D, G> UnsafeUnpin for History<'a, 's, D, G>
where Signature<'a, 's, D, G>: UnsafeUnpin, OwnedVec<Validation<'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.