pub struct ActiveIdentityRanks { /* private fields */ }Expand description
Sorted unique permanent indexes of current live members.
Implementations§
Source§impl ActiveIdentityRanks
impl ActiveIdentityRanks
Sourcepub fn try_new(
participants: Vec<FrontierParticipant>,
high_watermark: DeliverySeq,
identity_slot_limit: u64,
) -> Result<Self, ClaimFrontierError>
pub fn try_new( participants: Vec<FrontierParticipant>, high_watermark: DeliverySeq, identity_slot_limit: u64, ) -> Result<Self, ClaimFrontierError>
Validates the signed identity-slot bound, ascending unique indexes, and
cursors at or below H.
§Errors
Returns a delivery-sequence ClaimFrontierError at the first malformed
rank. The rank itself is the deterministic bad-position index.
Sourcepub fn participants(&self) -> &[FrontierParticipant]
pub fn participants(&self) -> &[FrontierParticipant]
Borrows the ascending live participant facts.
Trait Implementations§
Source§impl Clone for ActiveIdentityRanks
impl Clone for ActiveIdentityRanks
Source§fn clone(&self) -> ActiveIdentityRanks
fn clone(&self) -> ActiveIdentityRanks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActiveIdentityRanks
impl Debug for ActiveIdentityRanks
impl Eq for ActiveIdentityRanks
Source§impl PartialEq for ActiveIdentityRanks
impl PartialEq for ActiveIdentityRanks
impl StructuralPartialEq for ActiveIdentityRanks
Auto Trait Implementations§
impl Freeze for ActiveIdentityRanks
impl RefUnwindSafe for ActiveIdentityRanks
impl Send for ActiveIdentityRanks
impl Sync for ActiveIdentityRanks
impl Unpin for ActiveIdentityRanks
impl UnsafeUnpin for ActiveIdentityRanks
impl UnwindSafe for ActiveIdentityRanks
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