[][src]Trait news_flash::feed_api::ApiMetadata

pub trait ApiMetadata {
    fn id(&self) -> PluginID;
fn info(&self) -> FeedApiResult<PluginInfo>;
fn parse_error(&self, error: &dyn Fail) -> Option<String>;
fn get_instance(
        &self,
        config: &PathBuf,
        portal: Box<dyn Portal>
    ) -> FeedApiResult<Box<dyn FeedApi>>; }

Required methods

fn id(&self) -> PluginID

fn info(&self) -> FeedApiResult<PluginInfo>

fn parse_error(&self, error: &dyn Fail) -> Option<String>

fn get_instance(
    &self,
    config: &PathBuf,
    portal: Box<dyn Portal>
) -> FeedApiResult<Box<dyn FeedApi>>

Loading content...

Implementors

Loading content...