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 Freeze for LocalState
impl RefUnwindSafe for LocalState
impl Send for LocalState
impl Sync for LocalState
impl Unpin for LocalState
impl UnsafeUnpin for LocalState
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