pub trait CollectableVec<I, T>: AnyVec + AnyIterableVec<I, T>{
// Provided methods
fn collect_range(
&self,
from: Option<usize>,
to: Option<usize>,
) -> Result<Vec<T>> { ... }
fn i64_to_usize(i: i64, len: usize) -> usize { ... }
fn range_count(from: Option<i64>, to: Option<i64>, len: usize) -> usize { ... }
fn collect_range_serde_json(
&self,
from: Option<i64>,
to: Option<i64>,
) -> Result<Vec<Value>> { ... }
}Provided Methods§
fn collect_range( &self, from: Option<usize>, to: Option<usize>, ) -> Result<Vec<T>>
fn i64_to_usize(i: i64, len: usize) -> usize
fn range_count(from: Option<i64>, to: Option<i64>, len: usize) -> usize
fn collect_range_serde_json( &self, from: Option<i64>, to: Option<i64>, ) -> Result<Vec<Value>>
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.