[][src]Struct aquatic_http::common::PeerMapKey

pub struct PeerMapKey<I: Ip> {
    pub peer_id: PeerId,
    pub ip_or_key: Either<I, SmartString<LazyCompact>>,
}

Fields

peer_id: PeerIdip_or_key: Either<I, SmartString<LazyCompact>>

Trait Implementations

impl<I: Clone + Ip> Clone for PeerMapKey<I>[src]

impl<I: Debug + Ip> Debug for PeerMapKey<I>[src]

impl<I: Eq + Ip> Eq for PeerMapKey<I>[src]

impl<I: Hash + Ip> Hash for PeerMapKey<I>[src]

impl<I: PartialEq + Ip> PartialEq<PeerMapKey<I>> for PeerMapKey<I>[src]

impl<I: Ip> StructuralEq for PeerMapKey<I>[src]

impl<I: Ip> StructuralPartialEq for PeerMapKey<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for PeerMapKey<I> where
    I: RefUnwindSafe

impl<I> Send for PeerMapKey<I> where
    I: Send

impl<I> Sync for PeerMapKey<I> where
    I: Sync

impl<I> Unpin for PeerMapKey<I> where
    I: Unpin

impl<I> UnwindSafe for PeerMapKey<I> where
    I: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,