Trait ibc_client_cw::api::ClientType
source · pub trait ClientType<'a>: Sized {
type ClientState: ClientStateExecution<Context<'a, Self>> + Clone;
type ConsensusState: ConsensusStateTrait + Into<Any> + TryFrom<Any, Error = ClientError>;
}Expand description
Enables users to integrate their implemented light client by introducing
their client state and consensus state types into the generic Context
object.
Required Associated Types§
type ClientState: ClientStateExecution<Context<'a, Self>> + Clone
type ConsensusState: ConsensusStateTrait + Into<Any> + TryFrom<Any, Error = ClientError>
Object Safety§
This trait is not object safe.