Skip to content

Glossary: Rust Beyond the Basics

consumer

Also written: consumers

An iterator method that uses up the iterator and gives a result, such as `collect`, `sum`, `count`, `find` or `any`. Consumers are what make lazy adapters actually run.

Where the book teaches it

Related terms

adapterlazy