Expand description
Session
object providing the session functionality over the HOPR transport
The session proxies the user interactions with the transport in order to hide the advanced interactions and functionality.
Re-exports§
pub use types::IncomingSession;
pub use types::Session;
pub use types::SessionId;
pub use types::SESSION_USABLE_MTU_SIZE;
Modules§
- errors
- initiation
- This module defines the Start sub-protocol used for HOPR Session initiation and management.
- traits
- types
Structs§
- Capability
Iter - An iterator over the variants of Capability
- Session
Client Config - Configuration for the session.
- Session
Manager - Manages lifecycles of Sessions.
- Session
Manager Config - Configuration for the
SessionManager
.
Enums§
- Capability
- Capabilities of a session.
- Dispatch
Result - Indicates the result of processing a message.
- IpOr
Host - Implements a host name with port.
This could be either a DNS name with port
or an IP address with port represented by
std::net::SocketAddr
. - IpProtocol
- Lists some of the IP protocols.
- Routing
Options - Represents routing options in a mixnet with a maximum number of hops.
- Sealed
Host - Contains optionally encrypted
IpOrHost
.