Struct mycon::Config[][src]

pub struct Config<'env> { /* fields omitted */ }

A container for program configuration.

This includes settings for debug output and how the program interacts with its environment via instructions for I/O and shell command execution.

Methods

impl<'env> Config<'env>
[src]

Creates a new Config with default settings.

Sets whether executed commands should be traced.

Sets the function to format trace output.

Sets the duration to sleep after every instruction.

Sets the input stream of the Config.

Sets the output stream of the Config.

Sets the FileView of the Config.

Sets the ExecAction of the Config.

Auto Trait Implementations

impl<'env> !Send for Config<'env>

impl<'env> !Sync for Config<'env>