op_alloy::rpc_jsonrpsee::traits

Trait SupervisorApiClient

Source
pub trait SupervisorApiClient: ClientT {
    // Provided method
    fn check_messages<'life0, 'async_trait>(
        &'life0 self,
        messages: Vec<ExecutingMessage>,
        min_safety: SafetyLevel,
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: Sync + 'async_trait { ... }
}
Available on crate feature rpc-jsonrpsee only.
Expand description

Client implementation for the SupervisorApi RPC API.

Provided Methods§

Source

fn check_messages<'life0, 'async_trait>( &'life0 self, messages: Vec<ExecutingMessage>, min_safety: SafetyLevel, ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: Sync + 'async_trait,

Checks if the given messages meet the given minimum safety level.

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§

Source§

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