aob-lemmy-bot/src/fetchers/mod.rs

10 lines
174 B
Rust
Raw Normal View History

2024-01-08 20:06:18 +00:00
use async_trait::async_trait;
pub mod jnovel;
#[async_trait]
pub(crate) trait Fetcher {
type Return;
async fn check_feed(&self) -> Result<Vec<Self::Return>, ()>;
}