Struct MsgConnectionOpenAck
pub struct MsgConnectionOpenAck {
pub conn_id_on_a: ConnectionId,
pub conn_id_on_b: ConnectionId,
pub client_state_of_a_on_b: Any,
pub proof_conn_end_on_b: MerkleProof,
pub proof_client_state_of_a_on_b: MerkleProof,
pub proof_consensus_state_of_a_on_b: MerkleProof,
pub proofs_height_on_b: Height,
pub consensus_height_of_a_on_b: Height,
pub version: Version,
pub signer: String,
/* private fields */
}
Expand description
Per our convention, this message is sent to chain A. The handler will check proofs of chain B.
Fields§
§conn_id_on_a: ConnectionId
ConnectionId that chain A has chosen for it’s ConnectionEnd
conn_id_on_b: ConnectionId
ConnectionId that chain B has chosen for it’s ConnectionEnd
client_state_of_a_on_b: Any
ClientState of client tracking chain A on chain B
proof_conn_end_on_b: MerkleProof
proof of ConnectionEnd stored on Chain B during ConnOpenTry
proof_client_state_of_a_on_b: MerkleProof
proof of ClientState tracking chain A on chain B
proof_consensus_state_of_a_on_b: MerkleProof
proof that chain B has stored ConsensusState of chain A on its client
proofs_height_on_b: Height
Height at which all proofs in this message were taken
consensus_height_of_a_on_b: Height
height of latest header of chain A that updated the client on chain B
version: Version
§signer: String
Trait Implementations§
§impl Clone for MsgConnectionOpenAck
impl Clone for MsgConnectionOpenAck
§fn clone(&self) -> MsgConnectionOpenAck
fn clone(&self) -> MsgConnectionOpenAck
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for MsgConnectionOpenAck
impl Debug for MsgConnectionOpenAck
§impl DomainType for MsgConnectionOpenAck
impl DomainType for MsgConnectionOpenAck
§impl PartialEq for MsgConnectionOpenAck
impl PartialEq for MsgConnectionOpenAck
§impl TryFrom<MsgConnectionOpenAck> for MsgConnectionOpenAck
impl TryFrom<MsgConnectionOpenAck> for MsgConnectionOpenAck
§type Error = ConnectionError
type Error = ConnectionError
The type returned in the event of a conversion error.
§fn try_from(
raw: MsgConnectionOpenAck,
) -> Result<MsgConnectionOpenAck, <MsgConnectionOpenAck as TryFrom<MsgConnectionOpenAck>>::Error>
fn try_from( raw: MsgConnectionOpenAck, ) -> Result<MsgConnectionOpenAck, <MsgConnectionOpenAck as TryFrom<MsgConnectionOpenAck>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgConnectionOpenAck
Auto Trait Implementations§
impl Freeze for MsgConnectionOpenAck
impl RefUnwindSafe for MsgConnectionOpenAck
impl Send for MsgConnectionOpenAck
impl Sync for MsgConnectionOpenAck
impl Unpin for MsgConnectionOpenAck
impl UnwindSafe for MsgConnectionOpenAck
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request