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

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[src]

fn info(&self) -> FeedApiResult<PluginInfo>[src]

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

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

Loading content...

Implementors

Loading content...