op_alloy_rpc_jsonrpsee::traits

Trait OpAdminApiClient

source
pub trait OpAdminApiClient: ClientT {
    // Provided methods
    fn admin_reset_derivation_pipeline<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn admin_start_sequencer<'life0, 'async_trait>(
        &'life0 self,
        block_hash: B256,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn admin_stop_sequencer<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<B256, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
    fn admin_sequencer_active<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>
       where Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Client implementation for the OpAdminApi RPC API.

Provided Methods§

source

fn admin_reset_derivation_pipeline<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn admin_start_sequencer<'life0, 'async_trait>( &'life0 self, block_hash: B256, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn admin_stop_sequencer<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<B256, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

source

fn admin_sequencer_active<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<bool, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<TypeJsonRpseeInteral> OpAdminApiClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT,