Struct tentacle::ProtocolId
source · pub struct ProtocolId(_);
Expand description
Protocol id
Implementations§
Trait Implementations§
source§impl Clone for ProtocolId
impl Clone for ProtocolId
source§fn clone(&self) -> ProtocolId
fn clone(&self) -> ProtocolId
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 ProtocolId
impl Debug for ProtocolId
source§impl Default for ProtocolId
impl Default for ProtocolId
source§fn default() -> ProtocolId
fn default() -> ProtocolId
Returns the “default value” for a type. Read more
source§impl Display for ProtocolId
impl Display for ProtocolId
source§impl From<ProtocolId> for TargetProtocol
impl From<ProtocolId> for TargetProtocol
source§fn from(id: ProtocolId) -> Self
fn from(id: ProtocolId) -> Self
Converts to this type from the input type.
source§impl From<usize> for ProtocolId
impl From<usize> for ProtocolId
source§impl Hash for ProtocolId
impl Hash for ProtocolId
source§impl Ord for ProtocolId
impl Ord for ProtocolId
source§fn cmp(&self, other: &ProtocolId) -> Ordering
fn cmp(&self, other: &ProtocolId) -> 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<ProtocolId> for ProtocolId
impl PartialEq<ProtocolId> for ProtocolId
source§fn eq(&self, other: &ProtocolId) -> bool
fn eq(&self, other: &ProtocolId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ProtocolId> for ProtocolId
impl PartialOrd<ProtocolId> for ProtocolId
source§fn partial_cmp(&self, other: &ProtocolId) -> Option<Ordering>
fn partial_cmp(&self, other: &ProtocolId) -> 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 more