Trait ibc::ics02_client::context::ClientKeeper [−][src]
Defines the write-only part of ICS2 (client functions) context.
Required methods
fn store_client_type(
&mut self,
client_id: ClientId,
client_type: ClientType
) -> Result<(), Error>
[src]
&mut self,
client_id: ClientId,
client_type: ClientType
) -> Result<(), Error>
Called upon successful client creation
fn store_client_state(
&mut self,
client_id: ClientId,
client_state: AnyClientState
) -> Result<(), Error>
[src]
&mut self,
client_id: ClientId,
client_state: AnyClientState
) -> Result<(), Error>
Called upon successful client creation and update
fn store_consensus_state(
&mut self,
client_id: ClientId,
height: Height,
consensus_state: AnyConsensusState
) -> Result<(), Error>
[src]
&mut self,
client_id: ClientId,
height: Height,
consensus_state: AnyConsensusState
) -> Result<(), Error>
Called upon successful client creation and update
fn increase_client_counter(&mut self)
[src]
Called upon client creation. Increases the counter which keeps track of how many clients have been created. Should never fail.
Provided methods
fn store_client_result(
&mut self,
handler_res: ClientResult
) -> Result<(), Error>
[src]
&mut self,
handler_res: ClientResult
) -> Result<(), Error>