Trait tor_circmgr::mgr::AbstractCirc
source · pub(crate) trait AbstractCirc: Debug {
type Id: Clone + Debug + Hash + Eq + Send + Sync;
// Required methods
fn id(&self) -> Self::Id;
fn usable(&self) -> bool;
}
Expand description
Minimal abstract view of a circuit.
From this module’s point of view, circuits are simply objects with unique identities, and a possible closed-state.