pub trait PrepareCall<Opt>: Send + Sync {
// Required method
fn prepare_call(
&self,
input: PrepareCallInput<Opt>,
) -> BoxFuture<'_, Result<PreparedCall, Error>>;
}Expand description
Rewrites the settings of a call from its options (templated instructions, per-tenant tools, …).
Required Methods§
Sourcefn prepare_call(
&self,
input: PrepareCallInput<Opt>,
) -> BoxFuture<'_, Result<PreparedCall, Error>>
fn prepare_call( &self, input: PrepareCallInput<Opt>, ) -> BoxFuture<'_, Result<PreparedCall, Error>>
Produces the settings to use.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".