Module protocol

Module protocol 

Source
Expand description

Protocol definitions and message parsing for GPSD JSON protocol GPSD JSON protocol trait definitions and implementations

This module provides the core traits and types for implementing the GPSD JSON protocol. It defines how messages are encoded, decoded, and transmitted between client and server.

The GPSD protocol uses newline-delimited JSON messages for communication. Each message is a complete JSON object terminated with a newline character.

Modules§

v3
Protocol version 3 implementation

Traits§

GpsdJsonDecode
Extension trait for reading GPSD JSON responses from a buffered reader
GpsdJsonDecodeAsync
Extension trait for reading GPSD JSON responses from an async buffered reader
GpsdJsonEncode
Extension trait for writing GPSD JSON requests to a writer
GpsdJsonEncodeAsync
Extension trait for writing GPSD JSON requests to an async writer
GpsdJsonRequest
Trait for types that can be serialized as GPSD request messages
GpsdJsonResponse
Trait for types that can be deserialized as GPSD response messages