Enum ibc_types_path::Path
source · pub enum Path {
Show 14 variants
ClientType(ClientTypePath),
ClientState(ClientStatePath),
ClientConsensusState(ClientConsensusStatePath),
ClientConnection(ClientConnectionPath),
Connection(ConnectionPath),
Ports(PortPath),
ChannelEnd(ChannelEndPath),
SeqSend(SeqSendPath),
SeqRecv(SeqRecvPath),
SeqAck(SeqAckPath),
Commitment(CommitmentPath),
Ack(AckPath),
Receipt(ReceiptPath),
Upgrade(ClientUpgradePath),
}
Expand description
The Path enum abstracts out the different sub-paths.
Variants§
ClientType(ClientTypePath)
ClientState(ClientStatePath)
ClientConsensusState(ClientConsensusStatePath)
ClientConnection(ClientConnectionPath)
Connection(ConnectionPath)
Ports(PortPath)
ChannelEnd(ChannelEndPath)
SeqSend(SeqSendPath)
SeqRecv(SeqRecvPath)
SeqAck(SeqAckPath)
Commitment(CommitmentPath)
Ack(AckPath)
Receipt(ReceiptPath)
Upgrade(ClientUpgradePath)
Implementations§
source§impl Path
impl Path
sourcepub fn is_provable(&self) -> bool
pub fn is_provable(&self) -> bool
Indication if the path is provable.
sourcepub fn into_bytes(self) -> Vec<u8>
pub fn into_bytes(self) -> Vec<u8>
into_bytes implementation
Trait Implementations§
source§impl From<ChannelEndPath> for Path
impl From<ChannelEndPath> for Path
source§fn from(original: ChannelEndPath) -> Path
fn from(original: ChannelEndPath) -> Path
Converts to this type from the input type.
source§impl From<ClientConnectionPath> for Path
impl From<ClientConnectionPath> for Path
source§fn from(original: ClientConnectionPath) -> Path
fn from(original: ClientConnectionPath) -> Path
Converts to this type from the input type.
source§impl From<ClientConsensusStatePath> for Path
impl From<ClientConsensusStatePath> for Path
source§fn from(original: ClientConsensusStatePath) -> Path
fn from(original: ClientConsensusStatePath) -> Path
Converts to this type from the input type.
source§impl From<ClientStatePath> for Path
impl From<ClientStatePath> for Path
source§fn from(original: ClientStatePath) -> Path
fn from(original: ClientStatePath) -> Path
Converts to this type from the input type.
source§impl From<ClientTypePath> for Path
impl From<ClientTypePath> for Path
source§fn from(original: ClientTypePath) -> Path
fn from(original: ClientTypePath) -> Path
Converts to this type from the input type.
source§impl From<ClientUpgradePath> for Path
impl From<ClientUpgradePath> for Path
source§fn from(original: ClientUpgradePath) -> Path
fn from(original: ClientUpgradePath) -> Path
Converts to this type from the input type.
source§impl From<CommitmentPath> for Path
impl From<CommitmentPath> for Path
source§fn from(original: CommitmentPath) -> Path
fn from(original: CommitmentPath) -> Path
Converts to this type from the input type.
source§impl From<ConnectionPath> for Path
impl From<ConnectionPath> for Path
source§fn from(original: ConnectionPath) -> Path
fn from(original: ConnectionPath) -> Path
Converts to this type from the input type.
source§impl From<ReceiptPath> for Path
impl From<ReceiptPath> for Path
source§fn from(original: ReceiptPath) -> Path
fn from(original: ReceiptPath) -> Path
Converts to this type from the input type.
source§impl From<SeqAckPath> for Path
impl From<SeqAckPath> for Path
source§fn from(original: SeqAckPath) -> Path
fn from(original: SeqAckPath) -> Path
Converts to this type from the input type.
source§impl From<SeqRecvPath> for Path
impl From<SeqRecvPath> for Path
source§fn from(original: SeqRecvPath) -> Path
fn from(original: SeqRecvPath) -> Path
Converts to this type from the input type.
source§impl From<SeqSendPath> for Path
impl From<SeqSendPath> for Path
source§fn from(original: SeqSendPath) -> Path
fn from(original: SeqSendPath) -> Path
Converts to this type from the input type.
source§impl FromStr for Path
impl FromStr for Path
The FromStr trait allows paths encoded as strings to be parsed into Paths.
source§impl Ord for Path
impl Ord for Path
source§impl PartialEq for Path
impl PartialEq for Path
source§impl PartialOrd for Path
impl PartialOrd for Path
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Path
impl StructuralEq for Path
impl StructuralPartialEq for Path
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§
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