Struct gag::Hold 
                   
                       [−]
                   
               [src]
pub struct Hold { /* fields omitted */ }Hold output until dropped. On drop, the held output is sent to the stdout/stderr.
Note: This will ignore IO errors when printing held output.
Methods
impl Hold[src]
pub fn stderr() -> Result<Hold>[src]
Hold stderr output.
pub fn stdout() -> Result<Hold>[src]
Hold stdout output.