Crate connection_layer
source ·Modules§
- This module provides a prelude with the most commonly used types from the crate.
Structs§
- A seed used for generating a Murmur3 hash for connection validation. Represents a unique connection identifier for the session.
- Represents the header of a connection with an ID and a Murmur3 hash.
Enums§
- Represents the mode of a connection layer, which can be either Out-Of-Band (OOB) or an active connection.
Functions§
- Prepares an output stream by writing a default connection ID and reserving space for a hash.
- Verifies the integrity of a payload against an expected Murmur3 hash.
- Writes a connection header and a payload to the provided stream, including a Murmur3 hash for validation.