Skip to main content

Module types

Module types 

Source

Structs§

ByteCapabilities
Wrapper for Capabilities that makes conversion to/from u8 possible.
HoprSession
Represents the Session protocol socket over HOPR.
HoprSessionConfig
Configures the Session protocol socket over HOPR.

Enums§

ClosureReason
Indicates the closure reason of a HoprSession.
SessionTarget
SessionId, ServiceId, and SessionTarget are provided by hopr-types and re-exported here via hopr-utils, so they match the published hopr-api session types.

Constants§

SESSION_APPLICATION_TAG
Constant application tag used for all sessions. Previously tags were dynamically allocated per session.
SESSION_SOCKET_CAPACITY 🔒

Traits§

AsyncReadWrite 🔒
Helper trait to allow Box aliasing

Functions§

caps_to_ack_mode 🔒

Type Aliases§

HoprStartProtocol
Start protocol instantiation for HOPR.
IncomingSession
Wrapper for an incoming HoprSession carrying the SessionId and SessionTarget extracted from the Start protocol during session establishment.
ServiceId
SessionId, ServiceId, and SessionTarget are provided by hopr-types and re-exported here via hopr-utils, so they match the published hopr-api session types.
SessionId
SessionId, ServiceId, and SessionTarget are provided by hopr-types and re-exported here via hopr-utils, so they match the published hopr-api session types.