pub type CommandResult<T> = Result<CommandResponse<T>, Error>;
Expand description

Represents the successfully deserialization of an incoming response.

A response can either contain the result (Command::Response) are an error Error.

Aliased Type§

enum CommandResult<T> {
    Ok(CommandResponse<T>),
    Err(Error),
}

Variants§

§1.0.0

Ok(CommandResponse<T>)

Contains the success value

§1.0.0

Err(Error)

Contains the error value