Struct fuel_core::service::SharedState
source · pub struct SharedState {
pub txpool: SharedState<P2PAdapter, Database>,
pub graph_ql: SharedState,
pub block_importer: BlockImporterAdapter,
}
Fields§
§txpool: SharedState<P2PAdapter, Database>
The transaction pool shared state.
graph_ql: SharedState
The GraphQL shared state.
block_importer: BlockImporterAdapter
Subscribe to new block production.
Trait Implementations§
source§fn clone(&self) -> SharedState
fn clone(&self) -> SharedState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more