[]Struct tmkms::chain::REGISTRY

pub struct REGISTRY { /* fields omitted */ }

State of Tendermint blockchain networks

Methods from Deref<Target = GlobalRegistry>

pub fn get(&self) -> Guard[src]

Acquire a read-only (concurrent) lock to the internal chain registry

pub fn register(&self, chain: Chain) -> Result<(), Error>[src]

Register a chain with the registry

Trait Implementations

impl Deref for REGISTRY

type Target = GlobalRegistry

The resulting type after dereferencing.

impl LazyStatic for REGISTRY

Auto Trait Implementations

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self