[][src]Module networking::utils

Re-exports

pub use crate::ArtificeConfig;
pub use crate::ArtificeHostData;
pub use crate::ArtificePeer;

Structs

AsyncQuery
SyncQuery

Traits

Query

Functions

async_channel
get_private_key
random_string

used to generate things such as pair keys, and global peer hash, see ArtificePeer

sync_channel
test_config

used in examples, and tests, generates ArtificePeer, and ArtificeConfig because private keys take a while to generate this method generates static data, so it should never be used in production environments