Module nix_compat::wire::protocol_version
source · Structs§
- Protocol versions are represented as a u16. The upper 8 bits are the major version, the lower bits the minor. This is not aware of any endianness, use [crate::wire::read_u64] to get an u64 first, and the try_from() impl from here if you’re receiving over the Nix Worker protocol.
Statics§
- The latest version that is currently supported by nix-compat.