pub fn new_gossiped(
        addr: &SocketAddr,
        services: &PeerServices,
        last_seen: &DateTime<Utc>,
    ) -> MetaAddr {
        MetaAddr {
            addr: *addr,
            services: *services,
            last_seen: *last_seen,
            // the state is Zebra-specific, it isn't part of the Zcash network protocol
            last_connection_state: NeverAttempted,
        }
    }
/// Create a new `MetaAddr` from the deserialized fields in an `Addr`
/// message.
Create a new `MetaAddr` from the deserialized fields in an `Addr`
message.
Create a new ` MetaAddr ` from the deserialized fields in an ` Addr ` message .
pub fn new_gossiped(
        addr: &SocketAddr,
        services: &PeerServices,
        last_seen: &DateTime<Utc>,
    ) -> MetaAddr {
        MetaAddr {
            addr: *addr,
            services: *services,
            last_seen: *last_seen,
            // the state is Zebra-specific, it isn't part of the Zcash network protocol
            last_connection_state: NeverAttempted,
        }
    }
pub fn new_gossiped ( addr : & SocketAddr , services : & PeerServices , last_seen : & DateTime < Utc > , ) -> MetaAddr { MetaAddr { addr : * addr , services : * services , last_seen : * last_seen , // the state is Zebra-specific, it isn't part of the Zcash network protocol last_connection_state : NeverAttempted , } }
Create a new `MetaAddr` from the deserialized fields in an `Addr`
message.
Create a new ` MetaAddr ` from the deserialized fields in an ` Addr ` message .
addr
&SocketAddr
services
&PeerServices
last_seen
&DateTime<Utc>