Trait ibc_core::client::context::prelude::ConsensusStateDecoder

source ·
pub trait ConsensusStateDecoder: Into<Any> + TryFrom<Any, Error = ClientError> { }
Expand description

Convenient trait to decode a consensus state from an Any type and obtain a handle to the local instance of ConsensusState.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> ConsensusStateDecoder for T
where T: Into<Any> + TryFrom<Any, Error = ClientError>,