pub struct SlotState {
pub slot_index: SlotIndex,
pub nomination: NominationState,
pub ballot: BallotState,
pub statements_history: Vec<HistoricalStatement>,
pub fully_validated: bool,
pub got_vblocking: bool,
}Fields§
§slot_index: SlotIndex§nomination: NominationState§ballot: BallotState§statements_history: Vec<HistoricalStatement>§fully_validated: bool§got_vblocking: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SlotState
impl Freeze for SlotStatewhere
*const u8 is !null: Freeze,
PhantomData<(BytesM<u32::MAX>, ())>: Freeze,
PhantomData<(PublicKey, SCPEnvelope)>: Freeze,
*const MlDsa65PublicKey is !null: Freeze,
PhantomData<MlDsa65PublicKey>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<BytesM<u32::MAX>>: Freeze,
*const MlDsa65Signature is !null: Freeze,
PhantomData<MlDsa65Signature>: Freeze,
PhantomData<(PublicKey, ())>: Freeze,
PhantomData<HistoricalStatement>: Freeze,
impl Move for SlotState
impl RefUnwindSafe for SlotState
impl Send for SlotStatewhere
RawTable<(BytesM<u32::MAX>, ())>: Send,
RawTable<(PublicKey, SCPEnvelope)>: Send,
BoxRaw<MlDsa65PublicKey>: Send,
RawVecInner: Send,
BoxRaw<MlDsa65Signature>: Send,
RawTable<(PublicKey, ())>: Send,
impl Sync for SlotStatewhere
RawTable<(BytesM<u32::MAX>, ())>: Sync,
RawTable<(PublicKey, SCPEnvelope)>: Sync,
BoxRaw<MlDsa65PublicKey>: Sync,
RawVecInner: Sync,
BoxRaw<MlDsa65Signature>: Sync,
RawTable<(PublicKey, ())>: Sync,
impl Unpin for SlotState
impl UnsafeUnpin for SlotStatewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(BytesM<u32::MAX>, ())>: UnsafeUnpin,
PhantomData<(PublicKey, SCPEnvelope)>: UnsafeUnpin,
*const MlDsa65PublicKey is !null: UnsafeUnpin,
PhantomData<MlDsa65PublicKey>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<BytesM<u32::MAX>>: UnsafeUnpin,
*const MlDsa65Signature is !null: UnsafeUnpin,
PhantomData<MlDsa65Signature>: UnsafeUnpin,
PhantomData<(PublicKey, ())>: UnsafeUnpin,
PhantomData<HistoricalStatement>: UnsafeUnpin,
impl UnwindSafe for SlotStatewhere
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
HashMap<PublicKey, SCPEnvelope>: UnwindSafe,
BoxRaw<MlDsa65PublicKey>: UnwindSafe,
BoxRaw<MlDsa65Signature>: UnwindSafe,
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