[][src]Module tokio_hglib::message

Utilities for parsing and building command-server messages.

Structs

ServerSpec

Information reported by the server at the initial handshake.

Functions

pack_args

Packs command arguments of arbitrary encoding into bytes.

pack_args_os

Packs command arguments of platform encoding into bytes.

pack_result_code

Packs command exit code into bytes.

parse_hello

Parses "hello" response into ServerSpec.

parse_result_code

Parses command exit code into integer.