id_effect 0.7.0

Effect<A, E, R>: lazy Send effects over a typed capability list, run on a fiber runtime (Tokio executor), with layers, streams, schedules and coordination
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0277]: capability `Metrics` is not in this effect's environment
  --> tests/ui/fail/missing_capability.rs:14:14
   |
14 |     let m = ~Metrics;
   |              ^^^^^^^ `Metrics` is required here
   |
   = help: the trait `Selector<Metrics, There<There<_>>>` is not implemented for `HCons<Db, HCons<Logger, HNil>>`
   = note: add `Metrics` to the effect's `caps!(..)`, or remove it with `.provide(..)` / `.provide_env(..)` before running
help: the trait `Selector<T, Here>` is implemented for `HCons<T, Tl>`
  --> src/capability/hlist.rs
   |
   | impl<T, Tl> Selector<T, Here> for HCons<T, Tl> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^