[][src]Struct tendermint_light_node::config::LightClientConfig

pub struct LightClientConfig {
    pub address: Address,
    pub peer_id: PeerId,
    pub db_path: PathBuf,
}

LightClientConfig contains all options of a light client instance.

Fields

address: Address

Address of the Tendermint fullnode to connect to and fetch LightBlock data from.

peer_id: PeerId

PeerID of the same Tendermint fullnode.

db_path: PathBuf

The data base folder for this instance's store.

Trait Implementations

impl Clone for LightClientConfig[src]

impl Debug for LightClientConfig[src]

impl Default for LightClientConfig[src]

Default light client config settings.

impl<'de> Deserialize<'de> for LightClientConfig[src]

impl Serialize for LightClientConfig[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> AsAny for T where
    T: Any
[src]

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

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

impl<C> Config for C where
    C: Debug + Default + DeserializeOwned
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Erased for T

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,