Type Alias veloren_voxygen::cmd::CommandResult
source · type CommandResult = Result<Option<String>, String>;
Expand description
Represents the feedback shown to the user of a command, if any. Server commands give their feedback as an event, so in those cases this will always be Ok(None). An Err variant will be be displayed with the error icon and text color
Aliased Type§
enum CommandResult {
Ok(Option<String>),
Err(String),
}