Skip to main content

Module compound

Module compound 

Source
Expand description

Define a CompoundRuntime part that can be built from several component pieces.

Re-exportsยง

use std::net; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use crate::CoarseInstant; ๐Ÿ”’
use crate::CoarseTimeProvider; ๐Ÿ”’
use async_trait::async_trait; ๐Ÿ”’
use educe::Educe; ๐Ÿ”’
use futures::future::FutureObj; ๐Ÿ”’
use futures::task::Spawn; ๐Ÿ”’
use std::future::Future; ๐Ÿ”’
use std::io::Result as IoResult; ๐Ÿ”’
use tor_general_addr::unix; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use tracing::instrument; ๐Ÿ”’
use web_time_compat::Instant; ๐Ÿ”’
use web_time_compat::SystemTime; ๐Ÿ”’
use crate::traits::*; ๐Ÿ”’

Modulesยง

sealed ๐Ÿ”’
Module to seal RuntimeSubstExt

Structsยง

CompoundRuntime
A runtime made of several parts, each of which implements one trait-group.
Inner ๐Ÿ”’
A collection of objects implementing that traits that make up a Runtime

Traitsยง

RuntimeSubstExt
Extension trait on Runtime: Construct new Runtimes that replace part of an original runtime.