Skip to main content

Module err

Module err 

Source
Expand description

Declare an error type for tor-circmgr

Re-exportsΒ§

use std::sync::Arc; πŸ”’
use futures::task::SpawnError; πŸ”’
use retry_error::RetryError; πŸ”’
use thiserror::Error; πŸ”’
use oneshot_fused_workaround as oneshot; πŸ”’
use tor_error::Bug; πŸ”’
use tor_error::ErrorKind; πŸ”’
use tor_error::HasKind; πŸ”’
use tor_error::HasRetryTime; πŸ”’
use tor_linkspec::LoggedChanTarget; πŸ”’
use tor_linkspec::OwnedChanTarget; πŸ”’
use tor_proto::circuit::UniqId; πŸ”’
use web_time_compat::Instant; πŸ”’
use crate::mgr::RestrictionFailed; πŸ”’

StructsΒ§

OptUniqId πŸ”’
Helper to display an optional UniqId.
PreemptiveCircError πŸ”’
A failure to build any preemptive circuits, with at least one error condition.
WithOptPeer πŸ”’
Helper to display an optional peer, prefixed with the string β€œ withβ€œ.

EnumsΒ§

Error
An error returned while looking up or building a circuit