Skip to main content

RuntimeProfilePreset

Trait RuntimeProfilePreset 

Source
pub trait RuntimeProfilePreset:
    Copy
    + Send
    + Sync
    + 'static {
    // Required method
    fn apply(self, provider: ProviderRuntimeProfile) -> ProviderRuntimeProfile;
}
Expand description

A reviewed workload preset layered over a Provider’s protocol-safe policy.

Required Methods§

Source

fn apply(self, provider: ProviderRuntimeProfile) -> ProviderRuntimeProfile

Applies this workload’s choices without discarding Provider-owned request options, retry exceptions, or circuit policy.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§