pub trait Aggregate<S> {
// Required method
fn aggregate<I>(&self, prices: I) -> Result<Price, Error>
where I: IntoIterator<Item = Option<Price>>,
I::IntoIter: ExactSizeIterator<Item = Option<Price>>;
}Required Methods§
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.