pub trait SamplingOptionsProvider {
// Required method
fn extract_sampling_options(&self) -> Result<SamplingOptions>;
}
Expand description
SamplingOptionsProvider is a trait that allows the caller to extract the sampling options from the object that implements it. This will mutate the object.