Type Definition bdrck::flags::command::CommandResult

source ·
pub type CommandResult<E> = Result<(), E>;
Expand description

An alias for Result, which has an arbitrary Error type. This is used to denote the actual Result returned by a caller-provided Command implementation.

Note that the Ok value accepted is just (); this library has no logic to deal with application-specific success return values.