[][src]Type Definition flaggy::command::CommandResult

type CommandResult<E> = Result<(), E>;

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.