Derive Macro ibc_core_client_context::client_state::ClientState
source · #[derive(ClientState)]
{
// Attributes available to this derive:
#[generics]
#[mock]
}
Expand description
Derive macro that implements ClientState
for enums containing variants
that implement ClientState
.
The macro expects the attribute #[generics(ClientValidationContext = <...>, ClientExecutionContext = <...>)]
which specifies ClientState
’s generic
arguments to be defined.
The macro does not support generic types for ClientValidationContext
and
ClientExecutionContext
(e.g. MyType<T>
would not be supported).