summaryrefslogtreecommitdiff
path: root/src/posts/abstractions/repo.rs
blob: 6fcb38506448fda1e8b176dfeb63c990186acc34 (plain) (blame)
1
2
3
4
5
use crate::posts::abstractions::post::Post;

pub trait PostRepo {
    fn load(&self) -> impl IntoIterator<Item = impl Post>;
}