Module tdn::prelude[][src]

Structs

load config from config file.

Type: GroupId

Helper: this is the group/layer/rpc handle result in the network.

peer’s network id.

Enums

support some common broadcast algorithm.

channel message send to chamomile network.

channel message receive from TDN for std version.

channel message receive from TDN Group.

channel message send to TDN for std version.

channel message send to TDN Group.

Network state info response.

Network state info response.

Constants

Functions

new a channel, send message to TDN Message. default capacity is 1024.

new a channel, send message to TDN Message. default capacity is 1024.

start a service, use config.toml file. send a Sender, and return the peer_id, and service Sender.

start a service with config.

Type Definitions