Struct mentat_cli::input::InputReader [] [src]

pub struct InputReader { /* fields omitted */ }

Reads input from stdin

Methods

impl InputReader
[src]

Constructs a new InputReader reading from stdin.

Returns whether the InputReader is reading from a TTY.

Reads a single command, item, or statement from stdin. Returns More if further input is required for a complete result. In this case, the input received so far is buffered internally.

Trait Implementations

Auto Trait Implementations

impl !Send for InputReader

impl !Sync for InputReader