Struct MsgChannelOpenTry
pub struct MsgChannelOpenTry {
pub port_id_on_b: PortId,
pub connection_hops_on_b: Vec<ConnectionId>,
pub port_id_on_a: PortId,
pub chan_id_on_a: ChannelId,
pub version_supported_on_a: Version,
pub proof_chan_end_on_a: MerkleProof,
pub proof_height_on_a: Height,
pub ordering: Order,
pub signer: String,
pub previous_channel_id: String,
pub version_proposal: Version,
}
Expand description
Message definition for the second step in the channel open handshake (ChanOpenTry
datagram).
Per our convention, this message is sent to chain B.
Fields§
§port_id_on_b: PortId
§connection_hops_on_b: Vec<ConnectionId>
§port_id_on_a: PortId
§chan_id_on_a: ChannelId
§version_supported_on_a: Version
§proof_chan_end_on_a: MerkleProof
§proof_height_on_a: Height
§ordering: Order
§signer: String
§previous_channel_id: String
👎Deprecated since 0.22.0
Only kept here for proper conversion to/from the raw type
version_proposal: Version
👎Deprecated since 0.22.0
Only kept here for proper conversion to/from the raw type
Trait Implementations§
§impl Clone for MsgChannelOpenTry
impl Clone for MsgChannelOpenTry
§fn clone(&self) -> MsgChannelOpenTry
fn clone(&self) -> MsgChannelOpenTry
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 MsgChannelOpenTry
impl Debug for MsgChannelOpenTry
§impl DomainType for MsgChannelOpenTry
impl DomainType for MsgChannelOpenTry
§impl PartialEq for MsgChannelOpenTry
impl PartialEq for MsgChannelOpenTry
§impl TryFrom<MsgChannelOpenTry> for MsgChannelOpenTry
impl TryFrom<MsgChannelOpenTry> for MsgChannelOpenTry
§type Error = ChannelError
type Error = ChannelError
The type returned in the event of a conversion error.
§fn try_from(
raw_msg: MsgChannelOpenTry,
) -> Result<MsgChannelOpenTry, <MsgChannelOpenTry as TryFrom<MsgChannelOpenTry>>::Error>
fn try_from( raw_msg: MsgChannelOpenTry, ) -> Result<MsgChannelOpenTry, <MsgChannelOpenTry as TryFrom<MsgChannelOpenTry>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgChannelOpenTry
Auto Trait Implementations§
impl Freeze for MsgChannelOpenTry
impl RefUnwindSafe for MsgChannelOpenTry
impl Send for MsgChannelOpenTry
impl Sync for MsgChannelOpenTry
impl Unpin for MsgChannelOpenTry
impl UnwindSafe for MsgChannelOpenTry
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