Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

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