Module tentacle::traits[][src]

Useful traits

Traits

Codec

A trait can define codec, just wrapper Decoder and Encoder

ProtocolSpawn

When the negotiation is completed and the agreement is opened, will call the implementation, allow users to implement the read processing of the protocol by themselves

ServiceHandle

Service handle

ServiceProtocol

Service level protocol handle

SessionProtocol

Session level protocol handle