Struct Gag
gag
pub struct Gag(_);
Discard output until dropped.
impl Gag
pub fn stdout() -> Result<Gag>
Discard stdout until dropped.
pub fn stderr() -> Result<Gag>
Discard stderr until dropped.