pub struct SelectedView { /* private fields */ }Expand description
Verified view-change selection, not installed leadership authority.
A future installation adapter must durably install these bytes and hard state
before START_VIEW or normal voting. This value cannot construct a normal core.
Implementations§
Source§impl SelectedView
impl SelectedView
Sourcepub const fn source(self) -> LogSource
pub const fn source(self) -> LogSource
Frozen history to install. Uncertain accepted operations remain included.
Sourcepub const fn committed(self) -> Prefix
pub const fn committed(self) -> Prefix
Largest compatible known commit floor in the participating reports.
Sourcepub const fn voter_mask(self) -> u8
pub const fn voter_mask(self) -> u8
Bitset of participating voters in configured order, including the primary.
Trait Implementations§
Source§impl Clone for SelectedView
impl Clone for SelectedView
impl Copy for SelectedView
Source§impl Debug for SelectedView
impl Debug for SelectedView
impl Eq for SelectedView
Source§impl PartialEq for SelectedView
impl PartialEq for SelectedView
impl StructuralPartialEq for SelectedView
Auto Trait Implementations§
impl Freeze for SelectedView
impl RefUnwindSafe for SelectedView
impl Send for SelectedView
impl Sync for SelectedView
impl Unpin for SelectedView
impl UnsafeUnpin for SelectedView
impl UnwindSafe for SelectedView
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