pub trait AnyCollectableVec: AnyVec {
// Required method
fn collect_range_json_bytes(
&self,
from: Option<usize>,
to: Option<usize>,
) -> Vec<u8> ⓘ;
// Provided methods
fn range_count(&self, from: Option<i64>, to: Option<i64>) -> usize { ... }
fn range_weight(&self, from: Option<i64>, to: Option<i64>) -> usize { ... }
}Expand description
Type-erased trait for collectable vectors.