id_effect 0.10.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
//! Ex 086 — `ParseError::prefix` builds dot paths for nested fields.
use id_effect::schema::ParseError;

fn main() {
  let e = ParseError::new("age", "bad").prefix("user");
  assert_eq!(e.path, "user.age");
  println!("086_parse_error_paths ok");
}