Skip to main content

Group

Struct Group 

Source
pub struct Group<'v, 's, S: RangeSource> { /* private fields */ }
Expand description

Original object occurrences, preserving multiplicity and supplied order. The vector is moved; no member name, decoded bytes or account is cloned.

Implementations§

Source§

impl<'v, 's, S: RangeSource> Group<'v, 's, S>

Source

pub fn new<W: Work>( archive: &'v Archive<'s, S>, members: OwnedVec<MemberId<S::Document, S::Generation>>, work: &W, ) -> Acquisition<Self, S>

Admits every original member and its decoder before provider states can start. Duplicate occurrences remain duplicates for exact ERS membership.

Source

pub fn members(&self) -> &[MemberId<S::Document, S::Generation>]

Exact original objects. Traversal during verification is separately paid.

Auto Trait Implementations§

§

impl<'v, 's, S> !Freeze for Group<'v, 's, S>

§

impl<'v, 's, S> !RefUnwindSafe for Group<'v, 's, S>

§

impl<'v, 's, S> !Send for Group<'v, 's, S>

§

impl<'v, 's, S> !Sync for Group<'v, 's, S>

§

impl<'v, 's, S> !UnwindSafe for Group<'v, 's, S>

§

impl<'v, 's, S> Forget for Group<'v, 's, S>

§

impl<'v, 's, S> Unpin for Group<'v, 's, S>

§

impl<'v, 's, S> UnsafeUnpin for Group<'v, 's, S>

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.