Enum way_cooler_ipc::Command [] [src]

pub enum Command {
    Get(String),
    Set(StringJson),
    Run(String),
    Exists(String),
    Version,
    Commands,
    Ping,
}

Commands sent over command socket

Variants

Retrieve an item from the API. Returns a GotKey if successful.

Set an object in way-cooler. Returns Success if successful.

Run a way-cooler procedure. Returns success if successful.

Get metadata about a key. Returns success if key found.

Gets the version of way-cooler ipc. Returns Version.

Gtes a list of commands. Returns Commands.

Run a simple ping of the server.

Trait Implementations

impl Debug for Command
[src]

Formats the value using the given formatter.

impl PartialEq for Command
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more