pub struct FullDeps<C, P, SC, B> {
pub client: Arc<C>,
pub pool: Arc<P>,
pub select_chain: SC,
pub chain_spec: Box<dyn ChainSpec>,
pub deny_unsafe: DenyUnsafe,
pub babe: BabeDeps,
pub grandpa: GrandpaDeps<B>,
pub statement_store: Arc<dyn StatementStore>,
pub backend: Arc<B>,
}
Expand description
Full client dependencies.
Fields§
§client: Arc<C>
The client instance to use.
pool: Arc<P>
Transaction pool instance.
select_chain: SC
The SelectChain Strategy
chain_spec: Box<dyn ChainSpec>
A copy of the chain spec.
deny_unsafe: DenyUnsafe
Whether to deny unsafe calls
babe: BabeDeps
BABE specific dependencies.
grandpa: GrandpaDeps<B>
GRANDPA specific dependencies.
statement_store: Arc<dyn StatementStore>
Shared statement store reference.
backend: Arc<B>
The backend used by the node.
Auto Trait Implementations§
impl<C, P, SC, B> !RefUnwindSafe for FullDeps<C, P, SC, B>
impl<C, P, SC, B> Send for FullDeps<C, P, SC, B>where B: Send + Sync, C: Send + Sync, P: Send + Sync, SC: Send,
impl<C, P, SC, B> Sync for FullDeps<C, P, SC, B>where B: Send + Sync, C: Send + Sync, P: Send + Sync, SC: Sync,
impl<C, P, SC, B> Unpin for FullDeps<C, P, SC, B>where SC: Unpin,
impl<C, P, SC, B> !UnwindSafe for FullDeps<C, P, SC, B>
Blanket Implementations§
source§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
source§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,
source§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read moresource§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.source§impl<T, S> UniqueSaturatedInto<T> for Swhere
T: Bounded,
S: TryInto<T>,
impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,
source§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.