Module opt

Source
Expand description

Helper module with the options for connecting to terminals.

This module provides the options for a terminal connection and the corresponding builder.

§Example

let options = Options::builder()
    .timeout(50)
    .build();

assert_eq!(options.timeout(), 50);

Structs§

OptionBuilder
A builder of options objects.
Options
An options object.

Enums§

Mode
A terminal mode.
Volume
The diagnostic logging volume.