pub struct StellarState { /* private fields */ }Implementations§
Source§impl StellarState
impl StellarState
pub fn new( node_id: SCPNodeID, is_validator: bool, qset: SCPQuorumSet, get_hash_of: impl Fn(&[u8]) -> SCPHash, ) -> StellarState
Trait Implementations§
Auto Trait Implementations§
impl Forget for StellarState
impl Freeze for StellarStatewhere
*const MlDsa65PublicKey is !null: Freeze,
PhantomData<MlDsa65PublicKey>: Freeze,
*const u8 is !null: Freeze,
PhantomData<PublicKey>: Freeze,
PhantomData<SCPQuorumSet>: Freeze,
PhantomData<(u64, SlotState)>: Freeze,
impl Move for StellarState
impl RefUnwindSafe for StellarState
impl Send for StellarState
impl Sync for StellarState
impl Unpin for StellarState
impl UnsafeUnpin for StellarStatewhere
*const MlDsa65PublicKey is !null: UnsafeUnpin,
PhantomData<MlDsa65PublicKey>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<PublicKey>: UnsafeUnpin,
PhantomData<SCPQuorumSet>: UnsafeUnpin,
PhantomData<(u64, SlotState)>: UnsafeUnpin,
impl UnwindSafe for StellarStatewhere
BoxRaw<MlDsa65PublicKey>: UnwindSafe,
RawVecInner: UnwindSafe,
HashMap<u64, SlotState>: 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