Skip to main content

Crate tpt_protocol_core

Crate tpt_protocol_core 

Source
Expand description

Core traits for the TPT Protocol ecosystem: FrameParser, StateValidator, DataNormalizer.

Re-exports§

pub use error::Error;

Modules§

error

Traits§

DataNormalizer
Normalizes a parsed protocol frame into a TUP DataPoint.
FrameEncoder
Encodes a frame back to wire bytes: the inverse of FrameParser::parse.
FrameParser
Parses raw bytes into a protocol-specific frame.
ProtocolPluginstd
Protocol plugin trait for the daemon’s plugin architecture.
StateValidator
Validates the health/state of a protocol connection.