Type Definition fluvio_command::CommandResult[][src]

type CommandResult = Result<Output, CommandError>;

Ok(Output) when a child process successfully runs and returns exit code 0.

All other circumstances are regarded as Err(CommandError). This includes when there is an error invoking a child process, if a child process is terminated, or if the child process runs and returns a non-zero exit code.