Skip to main content

Paths

Struct Paths 

Source
pub struct Paths<'receipt, 'model, 'document, 'path> { /* private fields */ }
Expand description

Borrowed complete actual counter paths, issued after checking all outcomes.

Trait Implementations§

Source§

impl<'m, 'd, 'p> CounterReceipts<'p, 'd> for Paths<'_, 'm, 'd, 'p>

Source§

type Id = Node

Original node identity.
Source§

type Document = DocumentId<'m, 'd>

Stable document identity.
Source§

type Generation = ()

Exact document generation.
Source§

fn snapshot(&self) -> Snapshot<DocumentId<'m, 'd>, ()>

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

fn signature(&self) -> Node

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<'p, 'd, Node>

The countersignature at this census ordinal. Read more
Source§

fn is_empty(&self) -> bool

Whether the census is empty.

Auto Trait Implementations§

§

impl<'receipt, 'model, 'document, 'path> !RefUnwindSafe for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> !Send for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> !Sync for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> !UnwindSafe for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> Forget for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> Freeze for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> Unpin for Paths<'receipt, 'model, 'document, 'path>

§

impl<'receipt, 'model, 'document, 'path> UnsafeUnpin for Paths<'receipt, 'model, 'document, 'path>

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.