Struct MsgConnectionOpenTry
pub struct MsgConnectionOpenTry {Show 13 fields
pub client_id_on_b: ClientId,
pub client_state_of_b_on_a: Any,
pub counterparty: Counterparty,
pub versions_on_a: Vec<Version>,
pub proof_conn_end_on_a: MerkleProof,
pub proof_client_state_of_b_on_a: MerkleProof,
pub proof_consensus_state_of_b_on_a: MerkleProof,
pub proofs_height_on_a: Height,
pub consensus_height_of_b_on_a: Height,
pub delay_period: Duration,
pub signer: String,
pub proof_consensus_state_of_b: Option<MerkleProof>,
pub previous_connection_id: String,
}
Expand description
Per our convention, this message is sent to chain B. The handler will check proofs of chain A.
Fields§
§client_id_on_b: ClientId
ClientId on B that the connection is being opened for
client_state_of_b_on_a: Any
ClientState of client tracking chain B on chain A
counterparty: Counterparty
ClientId, ConnectionId and prefix of chain A
versions_on_a: Vec<Version>
Versions supported by chain A
proof_conn_end_on_a: MerkleProof
proof of ConnectionEnd stored on Chain A during ConnOpenInit
proof_client_state_of_b_on_a: MerkleProof
proof that chain A has stored ClientState of chain B on its client
proof_consensus_state_of_b_on_a: MerkleProof
proof that chain A has stored ConsensusState of chain B on its client
proofs_height_on_a: Height
Height at which all proofs in this message were taken
consensus_height_of_b_on_a: Height
height of latest header of chain A that updated the client on chain B
delay_period: Duration
§signer: String
§proof_consensus_state_of_b: Option<MerkleProof>
§previous_connection_id: String
👎Deprecated since 0.22.0
Only kept here for proper conversion to/from the raw type
Trait Implementations§
§impl Clone for MsgConnectionOpenTry
impl Clone for MsgConnectionOpenTry
§fn clone(&self) -> MsgConnectionOpenTry
fn clone(&self) -> MsgConnectionOpenTry
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 MsgConnectionOpenTry
impl Debug for MsgConnectionOpenTry
§impl DomainType for MsgConnectionOpenTry
impl DomainType for MsgConnectionOpenTry
§impl PartialEq for MsgConnectionOpenTry
impl PartialEq for MsgConnectionOpenTry
§impl TryFrom<MsgConnectionOpenTry> for MsgConnectionOpenTry
impl TryFrom<MsgConnectionOpenTry> for MsgConnectionOpenTry
§type Error = ConnectionError
type Error = ConnectionError
The type returned in the event of a conversion error.
§fn try_from(
msg: MsgConnectionOpenTry,
) -> Result<MsgConnectionOpenTry, <MsgConnectionOpenTry as TryFrom<MsgConnectionOpenTry>>::Error>
fn try_from( msg: MsgConnectionOpenTry, ) -> Result<MsgConnectionOpenTry, <MsgConnectionOpenTry as TryFrom<MsgConnectionOpenTry>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgConnectionOpenTry
Auto Trait Implementations§
impl Freeze for MsgConnectionOpenTry
impl RefUnwindSafe for MsgConnectionOpenTry
impl Send for MsgConnectionOpenTry
impl Sync for MsgConnectionOpenTry
impl Unpin for MsgConnectionOpenTry
impl UnwindSafe for MsgConnectionOpenTry
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