Struct ibc::core::ics24_host::path::ConnectionPath
source · pub struct ConnectionPath(pub ConnectionId);
Tuple Fields§
§0: ConnectionId
Implementations§
source§impl ConnectionPath
impl ConnectionPath
pub fn new(connection_id: &ConnectionId) -> ConnectionPath
Trait Implementations§
source§impl Clone for ConnectionPath
impl Clone for ConnectionPath
source§fn clone(&self) -> ConnectionPath
fn clone(&self) -> ConnectionPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConnectionPath
impl Debug for ConnectionPath
source§impl Display for ConnectionPath
impl Display for ConnectionPath
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 Hash for ConnectionPath
impl Hash for ConnectionPath
source§impl Ord for ConnectionPath
impl Ord for ConnectionPath
source§fn cmp(&self, other: &ConnectionPath) -> Ordering
fn cmp(&self, other: &ConnectionPath) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ConnectionPath> for ConnectionPath
impl PartialEq<ConnectionPath> for ConnectionPath
source§fn eq(&self, other: &ConnectionPath) -> bool
fn eq(&self, other: &ConnectionPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ConnectionPath> for ConnectionPath
impl PartialOrd<ConnectionPath> for ConnectionPath
source§fn partial_cmp(&self, other: &ConnectionPath) -> Option<Ordering>
fn partial_cmp(&self, other: &ConnectionPath) -> Option<Ordering>
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 ConnectionPath
impl StructuralEq for ConnectionPath
impl StructuralPartialEq for ConnectionPath
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionPath
impl Send for ConnectionPath
impl Sync for ConnectionPath
impl Unpin for ConnectionPath
impl UnwindSafe for ConnectionPath
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more