Struct libp2p_core::nodes::collection::ReachAttemptId
source · pub struct ReachAttemptId(_);Expand description
Identifier for a future that attempts to reach a node.
Trait Implementations
sourceimpl Clone for ReachAttemptId
impl Clone for ReachAttemptId
sourcefn clone(&self) -> ReachAttemptId
fn clone(&self) -> ReachAttemptId
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 ReachAttemptId
impl Debug for ReachAttemptId
sourceimpl Hash for ReachAttemptId
impl Hash for ReachAttemptId
sourceimpl Ord for ReachAttemptId
impl Ord for ReachAttemptId
sourcefn cmp(&self, other: &ReachAttemptId) -> Ordering
fn cmp(&self, other: &ReachAttemptId) -> 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<ReachAttemptId> for ReachAttemptId
impl PartialEq<ReachAttemptId> for ReachAttemptId
sourcefn eq(&self, other: &ReachAttemptId) -> bool
fn eq(&self, other: &ReachAttemptId) -> bool
sourceimpl PartialOrd<ReachAttemptId> for ReachAttemptId
impl PartialOrd<ReachAttemptId> for ReachAttemptId
sourcefn partial_cmp(&self, other: &ReachAttemptId) -> Option<Ordering>
fn partial_cmp(&self, other: &ReachAttemptId) -> 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 ReachAttemptId
impl Eq for ReachAttemptId
impl StructuralEq for ReachAttemptId
impl StructuralPartialEq for ReachAttemptId
Auto Trait Implementations
impl RefUnwindSafe for ReachAttemptId
impl Send for ReachAttemptId
impl Sync for ReachAttemptId
impl Unpin for ReachAttemptId
impl UnwindSafe for ReachAttemptId
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