Struct MsgChannelOpenInit
pub struct MsgChannelOpenInit {
pub port_id_on_a: PortId,
pub connection_hops_on_a: Vec<ConnectionId>,
pub port_id_on_b: PortId,
pub ordering: Order,
pub signer: String,
pub version_proposal: Version,
}
Expand description
Message definition for the first step in the channel open handshake (ChanOpenInit
datagram).
Per our convention, this message is sent to chain A.
Fields§
§port_id_on_a: PortId
§connection_hops_on_a: Vec<ConnectionId>
§port_id_on_b: PortId
§ordering: Order
§signer: String
§version_proposal: Version
Allow a relayer to specify a particular version by providing a non-empty version string
Trait Implementations§
§impl Clone for MsgChannelOpenInit
impl Clone for MsgChannelOpenInit
§fn clone(&self) -> MsgChannelOpenInit
fn clone(&self) -> MsgChannelOpenInit
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 MsgChannelOpenInit
impl Debug for MsgChannelOpenInit
§impl DomainType for MsgChannelOpenInit
impl DomainType for MsgChannelOpenInit
§impl PartialEq for MsgChannelOpenInit
impl PartialEq for MsgChannelOpenInit
§impl TryFrom<MsgChannelOpenInit> for MsgChannelOpenInit
impl TryFrom<MsgChannelOpenInit> for MsgChannelOpenInit
§type Error = ChannelError
type Error = ChannelError
The type returned in the event of a conversion error.
§fn try_from(
raw_msg: MsgChannelOpenInit,
) -> Result<MsgChannelOpenInit, <MsgChannelOpenInit as TryFrom<MsgChannelOpenInit>>::Error>
fn try_from( raw_msg: MsgChannelOpenInit, ) -> Result<MsgChannelOpenInit, <MsgChannelOpenInit as TryFrom<MsgChannelOpenInit>>::Error>
Performs the conversion.
impl Eq for MsgChannelOpenInit
impl StructuralPartialEq for MsgChannelOpenInit
Auto Trait Implementations§
impl Freeze for MsgChannelOpenInit
impl RefUnwindSafe for MsgChannelOpenInit
impl Send for MsgChannelOpenInit
impl Sync for MsgChannelOpenInit
impl Unpin for MsgChannelOpenInit
impl UnwindSafe for MsgChannelOpenInit
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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