pub fn dispatch<Ctx>(
ctx: &mut Ctx,
router: &mut impl Router,
msg: MsgEnvelope
) -> Result<(), ContextError>where
Ctx: ExecutionContext,
<<<Ctx as ValidationContext>::V as ClientValidationContext>::ClientStateRef as TryFrom<Any>>::Error: Into<ClientError>,
<<<Ctx as ExecutionContext>::E as ClientExecutionContext>::ClientStateMut as TryFrom<Any>>::Error: Into<ClientError>,
<<Ctx as ValidationContext>::HostClientState as TryFrom<Any>>::Error: Into<ClientError>,
Expand description
Entrypoint which performs both validation and message execution