1 2 3 4 5 6 7 8
use std::error::Error; use std::collections::HashMap; use value::Value; pub trait Source { fn build(&mut self) -> Result<HashMap<String, Value>, Box<Error>>; }