Enum way_cooler_ipc::CommandSuccess
[−]
[src]
pub enum CommandSuccess { Success, GotKey(Json), Version(u64), Commands(Vec<String>), }
Return types from the command socket for successful command queries
Variants
Success
The request was successful
GotKey(Json)
A key was found
Version(u64)
The version way-cooler is on,
Commands(Vec<String>)
Commands available to the API
Trait Implementations
impl Debug for CommandSuccess
[src]
impl PartialEq for CommandSuccess
[src]
fn eq(&self, __arg_0: &CommandSuccess) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CommandSuccess) -> bool
This method tests for !=
.
impl Clone for CommandSuccess
[src]
fn clone(&self) -> CommandSuccess
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