Module sql_table::inject

source ·
Expand description

Injectable types

Any type which is 'static implements Inject, meaning it can be resolved by a Provider.

Any type which implements Inject and Default trivially implements InjectExt, which means that when no provider is present, and get! is used to resolve a type, InjectExt::inject(..) will be invoked.

Traits

  • Marker trait for an injectable type.
  • Trait to blanket implement an associated inject method for all types implementing Default, enabling ergonomic get! and call! usages.

Functions