Enum gossip_cli::InteractiveCommands 
source · pub(crate) enum InteractiveCommands {
    Get {
        key: Key,
    },
    Set {
        key: Key,
        value: String,
    },
    Delete {
        key: Key,
    },
    Exit,
}Variants§
Get
Get a value from the store.
Set
Upsert a value in the store.
Delete
Delete a value from the store.
Exit
Exit the application.
Trait Implementations§
source§impl Debug for InteractiveCommands
 
impl Debug for InteractiveCommands
source§impl<__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet> DemuxEnum<(__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet)> for InteractiveCommands
 
impl<__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet> DemuxEnum<(__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet)> for InteractiveCommands
source§fn demux_enum(
    self,
    (__pusherator_delete, __pusherator_exit, __pusherator_get, __pusherator_set): &mut (__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet),
)
 
fn demux_enum( self, (__pusherator_delete, __pusherator_exit, __pusherator_get, __pusherator_set): &mut (__PusheratorDelete, __PusheratorExit, __PusheratorGet, __PusheratorSet), )
Pushes self into the corresponding output pusherator in 
outputs.source§impl FromArgMatches for InteractiveCommands
 
impl FromArgMatches for InteractiveCommands
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
 
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
    __clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
 
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
source§fn update_from_arg_matches(
    &mut self,
    __clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
 
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from 
ArgMatches to self.source§fn update_from_arg_matches_mut<'b>(
    &mut self,
    __clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
 
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from 
ArgMatches to self.source§impl Subcommand for InteractiveCommands
 
impl Subcommand for InteractiveCommands
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
 
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
 
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
 
fn has_subcommand(__clap_name: &str) -> bool
Test whether 
Self can parse a specific subcommandimpl DemuxEnumBase for InteractiveCommands
Auto Trait Implementations§
impl Freeze for InteractiveCommands
impl RefUnwindSafe for InteractiveCommands
impl Send for InteractiveCommands
impl Sync for InteractiveCommands
impl Unpin for InteractiveCommands
impl UnwindSafe for InteractiveCommands
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
 
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more