Struct netidx_netproto::resolver::Referral
source · pub struct Referral {
pub path: Path,
pub ttl: Option<u16>,
pub addrs: Pooled<Vec<(SocketAddr, Auth)>>,
}
Fields§
§path: Path
§ttl: Option<u16>
§addrs: Pooled<Vec<(SocketAddr, Auth)>>
Trait Implementations§
source§impl PartialEq<Referral> for Referral
impl PartialEq<Referral> for Referral
impl Eq for Referral
Auto Trait Implementations§
impl !RefUnwindSafe for Referral
impl Send for Referral
impl Sync for Referral
impl Unpin for Referral
impl !UnwindSafe for Referral
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.