Struct ibc_proto::ibc::core::channel::v1::IdentifiedChannel[][src]

pub struct IdentifiedChannel {
    pub state: i32,
    pub ordering: i32,
    pub counterparty: Option<Counterparty>,
    pub connection_hops: Vec<String>,
    pub version: String,
    pub port_id: String,
    pub channel_id: String,
}

IdentifiedChannel defines a channel with additional port and channel identifier fields.

Fields

state: i32

current state of the channel end

ordering: i32

whether the channel is ordered or unordered

counterparty: Option<Counterparty>

counterparty channel end

connection_hops: Vec<String>

list of connection identifiers, in order, along which packets sent on this channel will travel

version: String

opaque channel version, which is agreed upon during the handshake

port_id: String

port identifier

channel_id: String

channel identifier

Implementations

impl IdentifiedChannel[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn ordering(&self) -> Order[src]

Returns the enum value of ordering, or the default if the field is set to an invalid enum value.

pub fn set_ordering(&mut self, value: Order)[src]

Sets ordering to the provided enum value.

Trait Implementations

impl Clone for IdentifiedChannel[src]

impl Debug for IdentifiedChannel[src]

impl Default for IdentifiedChannel[src]

impl Message for IdentifiedChannel[src]

impl PartialEq<IdentifiedChannel> for IdentifiedChannel[src]

impl StructuralPartialEq for IdentifiedChannel[src]

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> 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> 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]