Skip to main content

Module preemptive

Module preemptive 

Source
Expand description

Tools for determining what circuits to preemptively build.

Re-exportsยง

use crate::PathConfig; ๐Ÿ”’
use crate::PreemptiveCircuitConfig; ๐Ÿ”’
use crate::TargetPort; ๐Ÿ”’
use crate::TargetTunnelUsage; ๐Ÿ”’
use std::collections::HashMap; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use tracing::warn; ๐Ÿ”’
use web_time_compat::Instant; ๐Ÿ”’
use web_time_compat::InstantExt; ๐Ÿ”’

Structsยง

PreemptiveCircuitPredictor ๐Ÿ”’
Predicts what circuits might be used in future based on past activity, and suggests circuits to preemptively build as a result.