prettytty

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§

Enums§

  • A terminal mode.
  • The diagnostic logging volume.