Trait gossip_kv::server::Address

source ·
pub trait Address:
    Hash
    + Debug
    + Clone
    + Eq
    + Serialize { }
Expand description

A trait that represents an abstract network address. In production, this will typically be SocketAddr.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<A> Address for A
where A: Hash + Debug + Clone + Eq + Serialize,