Trait ibc_core_client_context::Convertible
source · pub trait Convertible<C>: TryFrom<C> + Into<C> { }
Expand description
General-purpose helper converter enabling TryFrom
and Into
conversions
primarily intended between an enum and its variants. This usually used by
standalone functions as a trait bound allowing them to obtain the concrete
local type from the enum containing that concrete type as its variant, like
when enum AnyConsensusState
contains the Tendermint ConsensusState
.
Object Safety§
This trait is not object safe.