Enum oas::FeedCommand 
source · [−]pub(crate) enum FeedCommand {
    Fetch(FetchOpts),
    Crawl(CrawlOpts),
    Watch(FeedManagerOpts),
    Refetch(RefetchOpts),
}Variants
Fetch(FetchOpts)
Fetch a feed by URL.
Crawl(CrawlOpts)
Fetch and crawl a feed by URL (increasing offset param).
Watch(FeedManagerOpts)
Watch on CouchDB changes stream for new feeds
Refetch(RefetchOpts)
Refetch a feed and update all records
Trait Implementations
sourceimpl Debug for FeedCommand
 
impl Debug for FeedCommand
sourceimpl FromArgMatches for FeedCommand
 
impl FromArgMatches for FeedCommand
sourcefn from_arg_matches(arg_matches: &ArgMatches) -> Option<Self>
 
fn from_arg_matches(arg_matches: &ArgMatches) -> Option<Self>
sourcefn update_from_arg_matches<'b>(&mut self, arg_matches: &ArgMatches)
 
fn update_from_arg_matches<'b>(&mut self, arg_matches: &ArgMatches)
Assign values from 
ArgMatches to self.sourceimpl IntoApp for FeedCommand
 
impl IntoApp for FeedCommand
sourceimpl Parser for FeedCommand
 
impl Parser for FeedCommand
sourcefn parse_from<I, T>(itr: I) -> Selfwhere
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
 
fn parse_from<I, T>(itr: I) -> Selfwhere
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
Parse from iterator, exit on error
sourcefn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
 
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
Parse from iterator, return Err on error.
sourcefn update_from<I, T>(&mut self, itr: I)where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
 
fn update_from<I, T>(&mut self, itr: I)where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
Update from iterator, exit on error
sourcefn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
 
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
Update from iterator, return Err on error.
sourceimpl Subcommand for FeedCommand
 
impl Subcommand for FeedCommand
sourcefn augment_subcommands<'b>(app: App<'b>) -> App<'b>
 
fn augment_subcommands<'b>(app: App<'b>) -> App<'b>
sourcefn augment_subcommands_for_update<'b>(app: App<'b>) -> App<'b>
 
fn augment_subcommands_for_update<'b>(app: App<'b>) -> App<'b>
sourcefn has_subcommand(name: &str) -> bool
 
fn has_subcommand(name: &str) -> bool
Test whether 
Self can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for FeedCommand
impl Send for FeedCommand
impl Sync for FeedCommand
impl Unpin for FeedCommand
impl UnwindSafe for FeedCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
 
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A>where
    A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where
    A: Array<Item = T>,
Converts 
self into a collection.fn mapped<U, F, A>(self, f: F) -> SmallVec<A>where
    F: FnMut(T) -> U,
    A: Array<Item = U>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be 
Self