diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2017-03-08 11:09:37 -0800 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2017-03-08 11:09:37 -0800 |
commit | 2dc6a74b84825f65142c1fa7d3e67cd4f35ee3cb (patch) | |
tree | 23b21f732efbb215498db6debf6dbaee3af7e94f /src/source.rs | |
parent | c9ee1568fe212e4c352ec1afc52db44b34348fcd (diff) |
Initial work on deep serde integration
Diffstat (limited to 'src/source.rs')
-rw-r--r-- | src/source.rs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/source.rs b/src/source.rs deleted file mode 100644 index 2048791..0000000 --- a/src/source.rs +++ /dev/null @@ -1,12 +0,0 @@ -use std::error::Error; -use std::collections::HashMap; - -use value::Value; - -pub trait Source { - fn collect(&self) -> HashMap<String, Value>; -} - -pub trait SourceBuilder { - fn build(&self) -> Result<Box<Source + Send + Sync>, Box<Error>>; -} |