Struct libp2p_core::nodes::node::OutboundSubstreamId
source · pub struct OutboundSubstreamId(_);Expand description
Identifier for a substream being opened.
Trait Implementations
sourceimpl Clone for OutboundSubstreamId
impl Clone for OutboundSubstreamId
sourcefn clone(&self) -> OutboundSubstreamId
fn clone(&self) -> OutboundSubstreamId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for OutboundSubstreamId
impl Debug for OutboundSubstreamId
sourceimpl Hash for OutboundSubstreamId
impl Hash for OutboundSubstreamId
sourceimpl Ord for OutboundSubstreamId
impl Ord for OutboundSubstreamId
sourcefn cmp(&self, other: &OutboundSubstreamId) -> Ordering
fn cmp(&self, other: &OutboundSubstreamId) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<OutboundSubstreamId> for OutboundSubstreamId
impl PartialEq<OutboundSubstreamId> for OutboundSubstreamId
sourcefn eq(&self, other: &OutboundSubstreamId) -> bool
fn eq(&self, other: &OutboundSubstreamId) -> bool
sourceimpl PartialOrd<OutboundSubstreamId> for OutboundSubstreamId
impl PartialOrd<OutboundSubstreamId> for OutboundSubstreamId
sourcefn partial_cmp(&self, other: &OutboundSubstreamId) -> Option<Ordering>
fn partial_cmp(&self, other: &OutboundSubstreamId) -> Option<Ordering>
1.0.0 · sourcefn 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 Copy for OutboundSubstreamId
impl Eq for OutboundSubstreamId
impl StructuralEq for OutboundSubstreamId
impl StructuralPartialEq for OutboundSubstreamId
Auto Trait Implementations
impl RefUnwindSafe for OutboundSubstreamId
impl Send for OutboundSubstreamId
impl Sync for OutboundSubstreamId
impl Unpin for OutboundSubstreamId
impl UnwindSafe for OutboundSubstreamId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more