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]

[src]

Hold stderr output.

[src]

Hold stdout output.

Trait Implementations

impl Drop for Hold
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for Hold

impl Sync for Hold