Expand description
This crate defines the Start sub-protocol used for HOPR Session initiation and management.
The Start protocol is used to establish Session as described in HOPR
RFC-0012.
and is implemented via the StartProtocol enum.
The protocol is defined via generic arguments I (for Session ID), T (for Session Target)
and C (for Session capabilities).
Per RFC-0012, the types I and T are serialized/deserialized to the CBOR binary format
(see RFC7049) and therefore must implement
serde::Serialize + serde::Deserialize.
The capability type C must be expressible as a single unsigned byte.
See StartProtocol docs for the protocol diagram.
Modules§
- errors
- Contains errors raised by the Start protocol.
Structs§
- Keep
Alive Message - Keep-alive message for a Session with the identifier
T. - Start
Error Type - Error message in the Start protocol.
- Start
Established - Message of the Start protocol that confirms the establishment of a session.
- Start
Initiation - The session initiation message of the Start protocol.
Enums§
- Start
Error Reason - Lists all Start protocol error reasons.
- Start
Protocol - Lists all messages of the Start protocol for a session establishment.
- Start
Protocol Discriminants
Type Aliases§
- Start
Challenge - Challenge that identifies a Start initiation protocol message.