Struct MsgChannelOpenAck
pub struct MsgChannelOpenAck {
pub port_id_on_a: PortId,
pub chan_id_on_a: ChannelId,
pub chan_id_on_b: ChannelId,
pub version_on_b: Version,
pub proof_chan_end_on_b: MerkleProof,
pub proof_height_on_b: Height,
pub signer: String,
}
Expand description
Per our convention, this message is sent to chain A.
Message definition for the third step in the channel open handshake (ChanOpenAck
datagram).
Fields§
§port_id_on_a: PortId
§chan_id_on_a: ChannelId
§chan_id_on_b: ChannelId
§version_on_b: Version
§proof_chan_end_on_b: MerkleProof
§proof_height_on_b: Height
§signer: String
Trait Implementations§
§impl Clone for MsgChannelOpenAck
impl Clone for MsgChannelOpenAck
§fn clone(&self) -> MsgChannelOpenAck
fn clone(&self) -> MsgChannelOpenAck
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 MsgChannelOpenAck
impl Debug for MsgChannelOpenAck
§impl DomainType for MsgChannelOpenAck
impl DomainType for MsgChannelOpenAck
§impl PartialEq for MsgChannelOpenAck
impl PartialEq for MsgChannelOpenAck
§impl TryFrom<MsgChannelOpenAck> for MsgChannelOpenAck
impl TryFrom<MsgChannelOpenAck> for MsgChannelOpenAck
§type Error = ChannelError
type Error = ChannelError
The type returned in the event of a conversion error.
§fn try_from(
raw_msg: MsgChannelOpenAck,
) -> Result<MsgChannelOpenAck, <MsgChannelOpenAck as TryFrom<MsgChannelOpenAck>>::Error>
fn try_from( raw_msg: MsgChannelOpenAck, ) -> Result<MsgChannelOpenAck, <MsgChannelOpenAck as TryFrom<MsgChannelOpenAck>>::Error>
Performs the conversion.
impl StructuralPartialEq for MsgChannelOpenAck
Auto Trait Implementations§
impl Freeze for MsgChannelOpenAck
impl RefUnwindSafe for MsgChannelOpenAck
impl Send for MsgChannelOpenAck
impl Sync for MsgChannelOpenAck
impl Unpin for MsgChannelOpenAck
impl UnwindSafe for MsgChannelOpenAck
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