Skip to main content

ParticipantHashes

Struct ParticipantHashes 

Source
pub struct ParticipantHashes<N, D, G> { /* private fields */ }
Expand description

Complete root plus every original incorporated counter. Construction is private; a root-only receipt cannot stand for this whole participant set.

Implementations§

Source§

impl<N: Copy, D: Copy, G: Copy> ParticipantHashes<N, D, G>

Source

pub fn snapshot(&self) -> Snapshot<D, G>

Original immutable source generation.

Source

pub fn signature(&self) -> N

Original selected root, not an arbitrary discovered signature.

Source

pub fn root(&self) -> &Hashes<N, D, G>

Root’s complete actual-use guard.

Source

pub fn counters(&self) -> &[Hashes<N, D, G>]

Every counter once in its original complete counter-census order.

Auto Trait Implementations§

§

impl<N, D, G> !Freeze for ParticipantHashes<N, D, G>

§

impl<N, D, G> Forget for ParticipantHashes<N, D, G>

§

impl<N, D, G> RefUnwindSafe for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: RefUnwindSafe, OwnedVec<Hashes<N, D, G>>: RefUnwindSafe,

§

impl<N, D, G> Send for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: Send, OwnedVec<Hashes<N, D, G>>: Send,

§

impl<N, D, G> Sync for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: Sync, OwnedVec<Hashes<N, D, G>>: Sync,

§

impl<N, D, G> Unpin for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: Unpin, OwnedVec<Hashes<N, D, G>>: Unpin,

§

impl<N, D, G> UnsafeUnpin for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: UnsafeUnpin, OwnedVec<Hashes<N, D, G>>: UnsafeUnpin,

§

impl<N, D, G> UnwindSafe for ParticipantHashes<N, D, G>
where Hashes<N, D, G>: UnwindSafe, OwnedVec<Hashes<N, D, G>>: UnwindSafe,

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.