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