pub trait SubstrateEquivocationDetectionPipeline: BaseSubstrateEquivocationDetectionPipeline {
type ReportEquivocationCallBuilder: ReportEquivocationCallBuilder<Self>;
// Provided method
fn start_relay_guards<'life0, 'async_trait>(
source_client: &'life0 (impl 'async_trait + Client<Self::SourceChain>),
enable_version_guard: bool,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: Send + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Substrate -> Substrate equivocation detection pipeline.
Required Associated Types§
Sourcetype ReportEquivocationCallBuilder: ReportEquivocationCallBuilder<Self>
type ReportEquivocationCallBuilder: ReportEquivocationCallBuilder<Self>
How the report_equivocation
call is built ?
Provided Methods§
Sourcefn start_relay_guards<'life0, 'async_trait>(
source_client: &'life0 (impl 'async_trait + Client<Self::SourceChain>),
enable_version_guard: bool,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
fn start_relay_guards<'life0, 'async_trait>(
source_client: &'life0 (impl 'async_trait + Client<Self::SourceChain>),
enable_version_guard: bool,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
Add relay guards if required.
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.