use crate::posts::abstractions::post::Post; pub trait PostRepo { fn load(&self) -> impl IntoIterator; fn by_id(&self, post_id: &str) -> impl Post; }