Struct tetcore_subxt_client::SubxtClientConfig[][src]

pub struct SubxtClientConfig<C: ChainSpec + 'static> {
    pub impl_name: &'static str,
    pub impl_version: &'static str,
    pub author: &'static str,
    pub copyright_start_year: i32,
    pub db: DatabaseConfig,
    pub keystore: KeystoreConfig,
    pub chain_spec: C,
    pub role: Role,
    pub telemetry: Option<u16>,
}

Client configuration.

Fields

impl_name: &'static str

Name of the implementation.

impl_version: &'static str

Version of the implementation.

author: &'static str

Author of the implementation.

copyright_start_year: i32

Copyright start year.

db: DatabaseConfig

Database configuration.

keystore: KeystoreConfig

Keystore configuration.

chain_spec: C

Chain specification.

role: Role

Role of the node.

telemetry: Option<u16>

Enable telemetry on the given port.

Implementations

impl<C: ChainSpec + 'static> SubxtClientConfig<C>[src]

pub fn into_service_config(self) -> Configuration[src]

Creates a service configuration.

Trait Implementations

impl<C: Clone + ChainSpec + 'static> Clone for SubxtClientConfig<C>[src]

Auto Trait Implementations

impl<C> !RefUnwindSafe for SubxtClientConfig<C>

impl<C> Send for SubxtClientConfig<C>

impl<C> Sync for SubxtClientConfig<C>

impl<C> Unpin for SubxtClientConfig<C> where
    C: Unpin

impl<C> !UnwindSafe for SubxtClientConfig<C>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 

pub fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]