Struct ibc::ics03_connection::msgs::conn_open_try::MsgConnectionOpenTry[][src]

pub struct MsgConnectionOpenTry {
    pub previous_connection_id: Option<ConnectionId>,
    pub client_id: ClientId,
    pub client_state: Option<AnyClientState>,
    pub counterparty: Counterparty,
    pub counterparty_versions: Vec<Version>,
    pub proofs: Proofs,
    pub delay_period: Duration,
    pub signer: Signer,
}

Message definition MsgConnectionOpenTry (i.e., ConnOpenTry datagram).

Fields

previous_connection_id: Option<ConnectionId>client_id: ClientIdclient_state: Option<AnyClientState>counterparty: Counterpartycounterparty_versions: Vec<Version>proofs: Proofsdelay_period: Durationsigner: Signer

Implementations

impl MsgConnectionOpenTry[src]

pub fn previous_connection_id(&self) -> &Option<ConnectionId>[src]

Getter for accessing the previous connection identifier of this message.

pub fn client_id(&self) -> &ClientId[src]

Getter for accessing the client identifier from this message.

pub fn client_state(&self) -> Option<AnyClientState>[src]

Getter for accessing the client state.

pub fn counterparty(&self) -> Counterparty[src]

Getter for accesing the whole counterparty of this message. Returns a clone().

pub fn counterparty_versions(&self) -> Vec<Version>[src]

Getter for accessing the versions from this message. Returns a clone().

pub fn proofs(&self) -> &Proofs[src]

Getter for accessing the proofs in this message.

pub fn consensus_height(&self) -> Height[src]

Getter for accessing the consensus_height field from this message. Returns the special value 0 if this field is not set.

Trait Implementations

impl Clone for MsgConnectionOpenTry[src]

impl Debug for MsgConnectionOpenTry[src]

impl Eq for MsgConnectionOpenTry[src]

impl Msg for MsgConnectionOpenTry[src]

type ValidationError = Error

type Raw = RawMsgConnectionOpenTry

impl PartialEq<MsgConnectionOpenTry> for MsgConnectionOpenTry[src]

impl Protobuf<MsgConnectionOpenTry> for MsgConnectionOpenTry[src]

impl StructuralEq for MsgConnectionOpenTry[src]

impl StructuralPartialEq for MsgConnectionOpenTry[src]

impl TryFrom<MsgConnectionOpenTry> for MsgConnectionOpenTry[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]