Skip to main content

Module codec

Module codec 

Source
Expand description

The OvpnCodec encoder/decoder implementation.

Structs§

OvpnCodec
Tokio codec for the OpenVPN management interface.

Enums§

AccumulationLimit
Controls how many items the decoder will accumulate in a multi-line response or >CLIENT: ENV block before returning an error.
EncodeError
Structured error for encoder-side validation failures.
EncoderMode
Controls how the encoder handles characters that are unsafe for the line-oriented management protocol (\n, \r, \0).