Enum way_cooler_ipc::Command
[−]
[src]
pub enum Command { Get(String), Set(String, Json), Run(String), Exists(String), Version, Commands, Ping, }
Commands sent over command socket
Variants
Get(String)
Retrieve an item from the API.
Returns a GotKey
if successful.
Set(String, Json)
Set an object in way-cooler.
Returns Success
if successful.
Run(String)
Run a way-cooler procedure.
Returns success
if successful.
Exists(String)
Get metadata about a key.
Returns success
if key found.
Version
Gets the version of way-cooler ipc.
Returns Version
.
Commands
Gtes a list of commands.
Returns Commands
.
Ping
Run a simple ping of the server.
Trait Implementations
impl Debug for Command
[src]
impl PartialEq for Command
[src]
fn eq(&self, __arg_0: &Command) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Command) -> bool
This method tests for !=
.
impl Clone for Command
[src]
fn clone(&self) -> Command
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more