pub trait BlockSubmissionValidationApiServer:
Sized
+ Send
+ Sync
+ 'static {
// Required methods
fn validate_builder_submission_v1<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequest,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn validate_builder_submission_v2<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequestV2,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
// Provided method
fn into_rpc(self) -> RpcModule<Self> { ... }
}
Expand description
Server trait implementation for the BlockSubmissionValidationApi
RPC API.
Required Methods§
sourcefn validate_builder_submission_v1<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequest,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn validate_builder_submission_v1<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequest,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
A Request to validate a block submission.
sourcefn validate_builder_submission_v2<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequestV2,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn validate_builder_submission_v2<'life0, 'async_trait>(
&'life0 self,
request: BuilderBlockValidationRequestV2,
) -> Pin<Box<dyn Future<Output = Result<(), ErrorObject<'static>>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
A Request to validate a block submission.
Provided Methods§
Object Safety§
This trait is not object safe.