Enum Path
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§
§impl Path
impl Path
pub fn is_provable(&self) -> bool
pub fn is_provable(&self) -> bool
Indication if the path is provable.
pub fn into_bytes(self) -> Vec<u8>
pub fn into_bytes(self) -> Vec<u8>
into_bytes implementation
Trait Implementations§
§impl From<ChannelEndPath> for Path
impl From<ChannelEndPath> for Path
§fn from(original: ChannelEndPath) -> Path
fn from(original: ChannelEndPath) -> Path
Converts to this type from the input type.
§impl From<ClientConnectionPath> for Path
impl From<ClientConnectionPath> for Path
§fn from(original: ClientConnectionPath) -> Path
fn from(original: ClientConnectionPath) -> Path
Converts to this type from the input type.
§impl From<ClientConsensusStatePath> for Path
impl From<ClientConsensusStatePath> for Path
§fn from(original: ClientConsensusStatePath) -> Path
fn from(original: ClientConsensusStatePath) -> Path
Converts to this type from the input type.
§impl From<ClientStatePath> for Path
impl From<ClientStatePath> for Path
§fn from(original: ClientStatePath) -> Path
fn from(original: ClientStatePath) -> Path
Converts to this type from the input type.
§impl From<ClientTypePath> for Path
impl From<ClientTypePath> for Path
§fn from(original: ClientTypePath) -> Path
fn from(original: ClientTypePath) -> Path
Converts to this type from the input type.
§impl From<ClientUpgradePath> for Path
impl From<ClientUpgradePath> for Path
§fn from(original: ClientUpgradePath) -> Path
fn from(original: ClientUpgradePath) -> Path
Converts to this type from the input type.
§impl From<CommitmentPath> for Path
impl From<CommitmentPath> for Path
§fn from(original: CommitmentPath) -> Path
fn from(original: CommitmentPath) -> Path
Converts to this type from the input type.
§impl From<ConnectionPath> for Path
impl From<ConnectionPath> for Path
§fn from(original: ConnectionPath) -> Path
fn from(original: ConnectionPath) -> Path
Converts to this type from the input type.
§impl From<ReceiptPath> for Path
impl From<ReceiptPath> for Path
§fn from(original: ReceiptPath) -> Path
fn from(original: ReceiptPath) -> Path
Converts to this type from the input type.
§impl From<SeqAckPath> for Path
impl From<SeqAckPath> for Path
§fn from(original: SeqAckPath) -> Path
fn from(original: SeqAckPath) -> Path
Converts to this type from the input type.
§impl From<SeqRecvPath> for Path
impl From<SeqRecvPath> for Path
§fn from(original: SeqRecvPath) -> Path
fn from(original: SeqRecvPath) -> Path
Converts to this type from the input type.
§impl From<SeqSendPath> for Path
impl From<SeqSendPath> for Path
§fn from(original: SeqSendPath) -> Path
fn from(original: SeqSendPath) -> Path
Converts to this type from the input type.
§impl Ord for Path
impl Ord for Path
§impl PartialOrd for Path
impl PartialOrd for Path
impl Eq for Path
impl StructuralPartialEq for Path
Auto Trait Implementations§
impl Freeze for Path
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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