Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Implementors§