Trait tor_dirmgr::bridgedesc::Mockable

source ·
pub trait Mockable<R>: MockableAPI<R> { }
Available on crate feature bridge-client only.
Expand description

Mockable internal methods for within the BridgeDescMgr

Implemented for (), meaning “do not use mocks: use the real versions of everything”.

This (()) is the default for the type parameter in BridgeDescMgr, and it is the only publicly available implementation, since this trait is sealed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<R: Runtime> Mockable<R> for ()

Implementors§