Struct pocket_relay_core::blaze::codec::NetGroup
source · pub struct NetGroup(pub NetAddress, pub Port);Expand description
Structure for a networking group which consists of a networking address and port value
Tuple Fields§
§0: NetAddress§1: PortTrait Implementations§
impl Copy for NetGroup
impl Eq for NetGroup
impl StructuralEq for NetGroup
impl StructuralPartialEq for NetGroup
Auto Trait Implementations§
impl RefUnwindSafe for NetGroup
impl Send for NetGroup
impl Sync for NetGroup
impl Unpin for NetGroup
impl UnwindSafe for NetGroup
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.