[][src]Module networking::peers

contains the ArtificePeer struct

Structs

ArtificePeer

this is a peer that represents a (theoretically) remote computer, this struct provides an attempt to verify the peer by holding a text string that only this particular host, and one host have access to this is done in conjunction with public key authentication, as well as remote_user auth on an already encrypted channel so only those with permission can exercise their permissions side noote permissions and peers operate on white list rather then blacklist for the sake of safety.

Layer3SocketAddr

a serde serializable representation of std::net::SocketAddr

Layer3SocketIter

this module is only supported on std, not tokio becuase it seems whoever implemented the tokio::net::ToSocketAddrs, was stingy, and made the trait a wrapper around a private trait a future implementation might use a std network stream, to construct the tokio equvilent

RemotePeer

used as a precursor to artifice peer, principly it is used to store information about a given peer that is intended to be publicly available information

Enums

Layer3Addr

representation of an IpAddr that can be saved to a file, the purpose of this being the ability to connect to stable global peers even after the cnnection has been closed for a time

Traits

PeerList

used in ConnectionRequests verify method, anything that implements this trait is assumed to be a list of peers that are allowed to connect to this device