Macro cradle::cmd_result [−][src]
macro_rules! cmd_result { ($($args:tt)*) => { ... }; }
Expand description
Like cmd!
, but fixes the return type to Result<T, Error>
,
where T
is any type that implements CmdOutput
.
macro_rules! cmd_result { ($($args:tt)*) => { ... }; }
Like cmd!
, but fixes the return type to Result<T, Error>
,
where T
is any type that implements CmdOutput
.