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>
impl<'v, 's, S: RangeSource> Group<'v, 's, S>
Sourcepub fn new<W: Work>(
archive: &'v Archive<'s, S>,
members: OwnedVec<MemberId<S::Document, S::Generation>>,
work: &W,
) -> Acquisition<Self, S>
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.
Sourcepub fn members(&self) -> &[MemberId<S::Document, S::Generation>]
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>where
&'v Archive<'s, S>: Unpin,
OwnedVec<MemberId<<S as RangeSource>::Document, <S as RangeSource>::Generation>>: Unpin,
impl<'v, 's, S> UnsafeUnpin for Group<'v, 's, S>where
&'v Archive<'s, S>: UnsafeUnpin,
OwnedVec<MemberId<<S as RangeSource>::Document, <S as RangeSource>::Generation>>: UnsafeUnpin,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more