1
2
3
4
5
6
7
use errors::Error;
use post::PostItem;

pub trait PostBox {
    fn get(index: usize) -> Result<PostItem, Error>;
    fn next() -> Result<PostItem, Error>;
}