Enum ibc::ics24_host::Path[][src]

pub enum Path {
    ClientType(ClientId),
    ClientState(ClientId),
    ClientConsensusState {
        client_id: ClientId,
        epoch: u64,
        height: u64,
    },
    ClientConnections(ClientId),
    Connections(ConnectionId),
    Ports(PortId),
    ChannelEnds(PortIdChannelId),
    SeqSends(PortIdChannelId),
    SeqRecvs(PortIdChannelId),
    SeqAcks(PortIdChannelId),
    Commitments {
        port_id: PortId,
        channel_id: ChannelId,
        sequence: Sequence,
    },
    Acks {
        port_id: PortId,
        channel_id: ChannelId,
        sequence: Sequence,
    },
    Receipts {
        port_id: PortId,
        channel_id: ChannelId,
        sequence: Sequence,
    },
    Upgrade(ClientUpgradePath),
}

The Path enum abstracts out the different sub-paths

Variants

ClientType(ClientId)
ClientState(ClientId)
ClientConsensusState

Fields of ClientConsensusState

client_id: ClientIdepoch: u64height: u64
ClientConnections(ClientId)
Connections(ConnectionId)
Ports(PortId)
ChannelEnds(PortIdChannelId)
SeqSends(PortIdChannelId)
SeqRecvs(PortIdChannelId)
SeqAcks(PortIdChannelId)
Commitments

Fields of Commitments

port_id: PortIdchannel_id: ChannelIdsequence: Sequence
Acks

Fields of Acks

port_id: PortIdchannel_id: ChannelIdsequence: Sequence
Receipts

Fields of Receipts

port_id: PortIdchannel_id: ChannelIdsequence: Sequence

Implementations

impl Path[src]

pub fn is_provable(&self) -> bool[src]

Indication if the path is provable.

pub fn into_bytes(self) -> Vec<u8>[src]

into_bytes implementation

Trait Implementations

impl Clone for Path[src]

impl Debug for Path[src]

impl Display for Path[src]

The Display trait adds the .to_string() method to the Path struct This is where the different path strings are constructed

impl Eq for Path[src]

impl Hash for Path[src]

impl Ord for Path[src]

impl PartialEq<Path> for Path[src]

impl PartialOrd<Path> for Path[src]

impl StructuralEq for Path[src]

impl StructuralPartialEq for Path[src]

Auto Trait Implementations

impl RefUnwindSafe for Path

impl Send for Path

impl Sync for Path

impl Unpin for Path

impl UnwindSafe for Path

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> ToString for T where
    T: Display + ?Sized
[src]

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]