Struct leetcode_cli::cmds::ListCommand [−][src]
pub struct ListCommand;
Abstract list
command
handler
- try to request cache
- prints the list
- if chache doesn’t exist, download problems list
- …
Trait Implementations
impl Command for ListCommand
[src]
impl Command for ListCommand
[src]implement Command trait for list
fn usage<'a, 'list>() -> App<'a, 'list>
[src]
list
command usage
fn handler<'life0, 'life1, 'async_trait>(
m: &'life0 ArgMatches<'life1>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
m: &'life0 ArgMatches<'life1>
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
list
command handler
List commands contains “-c”, “-q”, “-s” flags.
+ matches with -c
will override the default -qs
Auto Trait Implementations
impl RefUnwindSafe for ListCommand
impl RefUnwindSafe for ListCommand
impl Send for ListCommand
impl Send for ListCommand
impl Sync for ListCommand
impl Sync for ListCommand
impl Unpin for ListCommand
impl Unpin for ListCommand
impl UnwindSafe for ListCommand
impl UnwindSafe for ListCommand
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
[src]pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,