Skip to main content

Module defaults

Module defaults 

Source
Expand description

Default concrete types and re-exports for the most common TYPHOON configurations.

Provides DefaultExecutor (backed by the active runtime feature flag), the DefaultServerConnectionHandler / DefaultClientConnectionHandler pair, NoopProbeHandler (the default no-op active-probing handler), and re-exports DecoyFactory, decoy_factory, and random_decoy_factory so callers do not need to import from the deeper flow::decoy path.

Re-exports§

pub use crate::flow::decoy::DecoyFactory;
pub use crate::flow::decoy::decoy_factory;
pub use crate::flow::decoy::random_decoy_factory;
pub use crate::flow::probe::ActiveProbeHandler;
pub use crate::flow::probe::ProbeFactory;
pub use crate::flow::probe::ProbeFlowSender;
pub use crate::flow::probe::probe_factory;

Structs§

DefaultClientConnectionHandler
Client connection handler with no custom initial data that encodes CARGO_PKG_VERSION into the handshake tailer ID field.
DefaultServerConnectionHandler
Server connection handler that produces a fresh random identity for each handshake, returns no server initial data, and checks the client version against CARGO_PKG_VERSION.
NoopProbeHandler
No-op active probe handler. Both [start] and [process] do nothing; unidentified packets are dropped silently.
TokioExecutor
Tokio-backed async executor.

Traits§

AsyncExecutor
Runtime-agnostic async task executor trait.
ClientConnectionHandler
Client-side connection handler: produces client initial data and the version bytes for the handshake.
ServerConnectionHandler
Server-side connection handler: generates identities, produces server initial data, and checks client version.

Type Aliases§

DefaultExecutor
The default executor type selected by the active feature flag.
DefaultSettings
DefaultTailer