penumbra_ibc::component

Trait ClientStateWriteExt

Source
pub trait ClientStateWriteExt: StateWrite + StateReadExt {
    // Provided methods
    fn put_client_counter(&mut self, counter: ClientCounter) { ... }
    fn put_client(
        &mut self,
        client_id: &ClientId,
        client_state: TendermintClientState,
    ) { ... }
    fn put_verified_heights(
        &mut self,
        client_id: &ClientId,
        verified_heights: VerifiedHeights,
    ) { ... }
    fn put_penumbra_consensus_state(
        &mut self,
        height: Height,
        consensus_state: TendermintConsensusState,
    ) { ... }
}
Available on crate feature component only.

Provided Methods§

Source

fn put_client_counter(&mut self, counter: ClientCounter)

Source

fn put_client( &mut self, client_id: &ClientId, client_state: TendermintClientState, )

Source

fn put_verified_heights( &mut self, client_id: &ClientId, verified_heights: VerifiedHeights, )

Source

fn put_penumbra_consensus_state( &mut self, height: Height, consensus_state: TendermintConsensusState, )

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§