[][src]Module tdn_types::primitive

Macros

json

Construct a serde_json::Value from a JSON literal.

Structs

DEFAULT_STORAGE_DIR
TransportStream

Type: P2P transport stream type.

Enums

Broadcast

Type: P2P common Broadcast support some common broadcast algorithm.

StreamType

Type: P2P stream type. Custom apply for build a stream between nodes.

Constants

CONFIG_FILE_NAME

Configure file name

DEFAULT_STORAGE_DIR_NAME
LAYER_ADDR

Layer default binding addr.

LAYER_PUBLIC_DEFAULT

Layer default lower on-off (whether public).

P2P_ADDR

P2P default binding addr.

P2P_TRANSPORT

P2P default transport.

RPC_ADDR

RPC default binding addr.

Type Definitions

PeerAddr

Type: PeerAddr

RpcParam