Crate extractors

Source
Expand description

§extractors

A library for using a provider to extract values as arguments to a function. This is useful for calling a function with only a provider and enabling it to take a variety of arguments extracted from the provider, such as a database connection or a web request.

Traits§

Caller
The interface for calling a function with arguments. Is implemented for tuples of up to 26 items to allow for up to 26 arguments.
Extract
Implemented on a provider, it extracts a future that resolves to Ok(T) on success or Err(Self::Err) on error.

Functions§

call
Use a provider to call a function