pub enum TrackerId {
Iroh(NodeId),
Quinn(SocketAddr),
Udp(SocketAddr),
}
Expand description
A tracker id for queries - either a node id or an address.
Variants§
Trait Implementations§
source§impl Ord for TrackerId
impl Ord for TrackerId
source§impl PartialEq for TrackerId
impl PartialEq for TrackerId
source§impl PartialOrd for TrackerId
impl PartialOrd for TrackerId
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 TrackerId
impl StructuralPartialEq for TrackerId
Auto Trait Implementations§
impl Freeze for TrackerId
impl RefUnwindSafe for TrackerId
impl Send for TrackerId
impl Sync for TrackerId
impl Unpin for TrackerId
impl UnwindSafe for TrackerId
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<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§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.