Crate gstuff [−] [src]
Macros
ERR |
Returns a |
find_parse_replace_s |
Uses nom to find all matches of the given |
gstring |
A helper to build a string on the stack. |
parse_replace_s |
Uses nom to find all matches of the given |
take_until_find_parse_s |
|
take_until_parse_s |
Implements the |
try_f |
Returns on error, prepending the current location to a stringified error, then passing the string to |
try_s |
Returns on error, converting the |
try_sp |
Functions
any_to_str |
Useful with panic handlers. |
cmd |
Run a command, printing it first. Stdout and stderr are forwarded through ( |
filename |
Shortcut to path->filename conversion. |
netstring |
Takes a netstring from the front of the slice. |
slurp |
Read contents of the file into a String. |
slurp_prog |
Runs a command in a shell, returning stderr+stdout on success. |
with_hostname |
Wraps |