Skip to main content

CounterPaths

Struct CounterPaths 

Source
pub struct CounterPaths<'view, 'document, N, D, G> { /* private fields */ }
Expand description

Complete original countersignature actors, never a successful subset. Construction visits every original counter through the common iterative walker. These paths still need their own status and material evaluation.

Implementations§

Source§

impl<'view, 'document, N: Copy, D: Copy, G: Copy> CounterPaths<'view, 'document, N, D, G>

Source

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

Original root source/generation under which all counters were visited.

Source

pub fn signature(&self) -> N

Root signature whose complete incorporated counters were checked.

Source

pub fn actors(&self) -> &[CounterActor<'view, 'document, N, D, G>]

Every original counter’s bound signer path in depth-first source order.

Trait Implementations§

Source§

impl<'view, 'document, N: Copy, D: Copy, G: Copy> CounterReceipts<'view, 'document> for CounterPaths<'view, 'document, N, D, G>

Source§

type Id = N

Original node identity.
Source§

type Document = D

Stable document identity.
Source§

type Generation = G

Exact document generation.
Source§

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

Original root source and generation under which all counters were visited.
Source§

fn signature(&self) -> N

Root signature whose complete incorporated counters were checked.
Source§

fn len(&self) -> usize

Number of countersignatures in the census.
Source§

fn counter(&self, ordinal: usize) -> Counter<'view, 'document, N>

The countersignature at this census ordinal. Read more
Source§

fn is_empty(&self) -> bool

Whether the census is empty.

Auto Trait Implementations§

§

impl<'view, 'document, N, D, G> !Freeze for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !RefUnwindSafe for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Send for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !Sync for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> !UnwindSafe for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Forget for CounterPaths<'view, 'document, N, D, G>

§

impl<'view, 'document, N, D, G> Unpin for CounterPaths<'view, 'document, N, D, G>
where Snapshot<D, G>: Unpin, N: Unpin, OwnedVec<CounterActor<'view, 'document, N, D, G>>: Unpin,

§

impl<'view, 'document, N, D, G> UnsafeUnpin for CounterPaths<'view, 'document, N, D, G>
where Snapshot<D, G>: UnsafeUnpin, N: UnsafeUnpin, OwnedVec<CounterActor<'view, 'document, N, 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.