referrerpolicy=no-referrer-when-downgrade

Trait EquivocationsDetector

Source
pub trait EquivocationsDetector: RelayToRelayEquivocationDetectionCliBridge
where Self::Source: ChainWithTransactions,
{ // Provided method fn start<'async_trait>( data: DetectEquivocationsParams, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>> where Self: Send + 'async_trait { ... } }
Expand description

Trait used for starting the equivocation detection loop between 2 chains.

Provided Methods§

Source

fn start<'async_trait>( data: DetectEquivocationsParams, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,

Start the equivocation detection loop.

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.

Implementors§