pub trait ChunkedCollectInferIterExt<T>: Sized + Iteratorwhere
T: PolarsDataType,{
// Provided methods
fn collect_ca(self, name: PlSmallStr) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIter<Self::Item> { ... }
fn collect_ca_trusted(self, name: PlSmallStr) -> ChunkedArray<T>
where <T as PolarsDataType>::Array: ArrayFromIter<Self::Item>,
Self: TrustedLen { ... }
fn try_collect_ca<U, E>(
self,
name: PlSmallStr,
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> { ... }
fn try_collect_ca_trusted<U, E>(
self,
name: PlSmallStr,
) -> Result<ChunkedArray<T>, E>
where <T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen { ... }
}
Provided Methods§
fn collect_ca(self, name: PlSmallStr) -> ChunkedArray<T>
fn collect_ca_trusted(self, name: PlSmallStr) -> ChunkedArray<T>
fn try_collect_ca<U, E>(self, name: PlSmallStr) -> Result<ChunkedArray<T>, E>
fn try_collect_ca_trusted<U, E>(
self,
name: PlSmallStr,
) -> Result<ChunkedArray<T>, E>where
<T as PolarsDataType>::Array: ArrayFromIter<U>,
Self: Iterator<Item = Result<U, E>> + TrustedLen,
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.