Module fork

Source
Expand description

Providers that combine multiple other providers.

§Types of Forking Providers

§Key-Based

To fork between providers that support different data keys, see:

§Locale-Based

To fork between providers that support different locales, see:

§Examples

See:

Modules§

by_error 🔒
macros 🔒
predicates
Collection of predicate traits and functions for forking providers.

Structs§

ForkByErrorProvider
A provider that returns data from one of two child providers based on a predicate function.
MultiForkByErrorProvider
A provider that returns data from the first child provider passing a predicate function.

Type Aliases§

ForkByKeyProvider
Create a provider that returns data from one of two child providers based on the key.
MultiForkByKeyProvider
A provider that returns data from the first child provider supporting the key.