extern crate failure;
use super::crypto::*;
use self::failure::Error;
use std::path::PathBuf;
pub struct Feed {
pub path: PathBuf,
}
impl Feed {
pub fn new(path: PathBuf) -> Self {
Feed { path }
}
pub fn append(&self, _data: &[u8]) -> Result<(), Error> {
unimplemented!();
}
pub fn get(&self, _index: usize) -> Option<&[u8]> {
unimplemented!();
}
}