Skip to main content

FeedSource

Trait FeedSource 

Source
pub trait FeedSource: Send + Sync {
    // Required methods
    fn producer(&self) -> &str;
    fn after(
        &self,
        position: i64,
        limit: i64,
    ) -> BoxFuture<'_, Result<Vec<FeedEntry>>>;
}

Required Methods§

Source

fn producer(&self) -> &str

Source

fn after( &self, position: i64, limit: i64, ) -> BoxFuture<'_, Result<Vec<FeedEntry>>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§