Trait ibc::ics02_client::client_state::ClientState[][src]

pub trait ClientState: DynClone + Debug + Send + Sync {
    fn chain_id(&self) -> ChainId;
fn client_type(&self) -> ClientType;
fn latest_height(&self) -> Height;
fn is_frozen(&self) -> bool;
fn wrap_any(self) -> AnyClientState; }

Required methods

fn chain_id(&self) -> ChainId[src]

Return the chain identifier which this client is serving (i.e., the client is verifying consensus states from this chain).

fn client_type(&self) -> ClientType[src]

Type of client associated with this state (eg. Tendermint)

fn latest_height(&self) -> Height[src]

Latest height of consensus state

fn is_frozen(&self) -> bool[src]

Freeze status of the client

fn wrap_any(self) -> AnyClientState[src]

Wrap into an AnyClientState

Loading content...

Implementors

Loading content...