Enum ibc::ics02_client::client_def::AnyClient[][src]

pub enum AnyClient {
    Tendermint(TendermintClient),
}

Variants

Tendermint(TendermintClient)

Implementations

impl AnyClient[src]

Trait Implementations

impl ClientDef for AnyClient[src]

type Header = AnyHeader

type ClientState = AnyClientState

type ConsensusState = AnyConsensusState

fn check_header_and_update_state(
    &self,
    client_state: AnyClientState,
    header: AnyHeader
) -> Result<(AnyClientState, AnyConsensusState), Box<dyn Error>>
[src]

Validates an incoming header against the latest consensus state of this client.

impl Clone for AnyClient[src]

impl Debug for AnyClient[src]

impl Eq for AnyClient[src]

impl PartialEq<AnyClient> for AnyClient[src]

impl StructuralEq for AnyClient[src]

impl StructuralPartialEq for AnyClient[src]

Auto Trait Implementations

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> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> IntoRequest<T> for 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>, 

impl<T> WithSubscriber for T[src]