Enum twiggy_opt::OutputDestination[][src]

pub enum OutputDestination {
    Stdout,
    Path(PathBuf),
}

Where to output results.

Variants

Emit the results to stdout.

Write the results to a file at the given path.

Methods

impl OutputDestination
[src]

Open the output destination as an io::Write.

Trait Implementations

impl Clone for OutputDestination
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for OutputDestination
[src]

Formats the value using the given formatter. Read more

impl Default for OutputDestination
[src]

Returns the "default value" for a type. Read more

impl FromStr for OutputDestination
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations