Trait method lrs::iter::IteratorExt::collect

Collects all elements of the iterator into a vector.

Syntax

fn collect(self) -> Vec<<Self as Iterator>::Item, Libc>

Remarks

If no space can be allocated for the elements, the process is aborted.