Skip to main content

Module config

Module config 

Source
Expand description

Configuration of the crate::HoprTransport.

Structsยง

HoprCodecConfig
Configuration of [HoprEncoder] and [HoprDecoder].
HoprPacketPipelineConfig
Configuration of the HOPR packet pipeline.
HoprProtocolConfig
Complete configuration of the HOPR protocol stack.
HoprUnacknowledgedTicketProcessorConfig
Configuration for the [HoprUnacknowledgedTicketProcessor].
HostConfig
Configuration of the listening host.
MixerConfig
Mixer configuration.
ProbeConfig
Configuration for the probing mechanism
SessionGlobalConfig
Global configuration of Sessions and the Session manager.
StreamProtocolConfig
Configuration of the per-peer egress stream layer.
SurbStoreConfig
Configuration for the SURB cache.
TransportConfig
Configuration of the physical transport mechanism.

Enumsยง

HostType
Enumeration of possible host types.

Constantsยง

DEFAULT_COUNTER_FLUSH_INTERVAL ๐Ÿ”’
DEFAULT_FRAME_WRITER_BACKPRESSURE_BYTES ๐Ÿ”’
DEFAULT_MAXIMUM_MANAGED_SESSIONS ๐Ÿ”’
DEFAULT_PER_PEER_CHANNEL_CAPACITY ๐Ÿ”’
DEFAULT_SESSION_BALANCER_BUFFER_DURATION ๐Ÿ”’
DEFAULT_SESSION_BALANCER_SAMPLING ๐Ÿ”’
DEFAULT_SESSION_ESTABLISH_MAX_RETRIES ๐Ÿ”’
DEFAULT_SESSION_ESTABLISH_RETRY_DELAY ๐Ÿ”’
DEFAULT_SESSION_IDLE_TIMEOUT ๐Ÿ”’
DEFAULT_STREAM_OPEN_TIMEOUT ๐Ÿ”’
MIN_STREAM_OPEN_TIMEOUT
Minimum accepted value for StreamProtocolConfig::stream_open_timeout.
SESSION_IDLE_MIN_TIMEOUT ๐Ÿ”’

Functionsยง

default_counter_flush_interval ๐Ÿ”’
default_frame_writer_backpressure_bytes ๐Ÿ”’
default_max_managed_sessions ๐Ÿ”’
default_multiaddr_transport ๐Ÿ”’
default_per_peer_channel_capacity ๐Ÿ”’
default_session_balancer_buffer_duration ๐Ÿ”’
default_session_balancer_sampling ๐Ÿ”’
default_session_establish_max_retries ๐Ÿ”’
default_session_establish_retry_delay ๐Ÿ”’
default_session_idle_timeout ๐Ÿ”’
default_session_surb_balance_notify_period ๐Ÿ”’
default_stream_open_timeout ๐Ÿ”’
is_dns_address_regex ๐Ÿ”’
is_reachable_domain
Check whether the string is an actual reachable domain.
looks_like_domain
Check whether the string looks like a valid domain.
validate_balancer_buffer_duration ๐Ÿ”’
validate_balancer_sampling ๐Ÿ”’
validate_dns_address ๐Ÿ”’
validate_ipv4_address ๐Ÿ”’
validate_session_idle_timeout ๐Ÿ”’
validate_stream_open_timeout ๐Ÿ”’
validate_surb_balance_notify_period ๐Ÿ”’