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§
Sourcefn 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,
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.