# Functions
Match returns a MatchTarget that compares the command and delegates to handler if it matches.
OneOf returns a Delegate that uses the supplied handlers.
Regex returns a RegexTarget that compares the command to the pattern and delegates to handler if it matches.
Respond returns the simplest type of Response that just writes the response to the stdout.
RespondTo builds a target that matches the supplied command and writes the response to stdout if it matches.
# Structs
Delegate is an implementation of Target that passes all command requests to a the first child that accepts them.
Echo is an implementation of Target that acts like the echo command, printing the command arguments parameters to stdout.
MatchTarget is an implementation of Target that passes the command to it's child target if it matches the supplied command.
RegexpTarget is an implementation of Target that passes the command to it's child target if it matches the supplied regexp match pattern.
Response is an implementation of Target that always gives exactly the same response.
# Type aliases
Sequence is an implementation of Target that holds a list of 'consumable' targets.
This is the error type returned when a command is not handled by the stub target.