Struct nix::sys::termios::Termios [] [src]

pub struct Termios {
    pub input_flags: InputFlags,
    pub output_flags: OutputFlags,
    pub control_flags: ControlFlags,
    pub local_flags: LocalFlags,
    pub control_chars: [cc_t; 20],
    // some fields omitted
}

Stores settings for the termios API

This is a wrapper around the libc::termios struct that provides a safe interface for the standard fields. The only safe way to obtain an instance of this struct is to extract it from an open port using tcgetattr().

Fields

Input mode flags (see termios.c_iflag documentation)

Output mode flags (see termios.c_oflag documentation)

Control mode flags (see termios.c_cflag documentation)

Local mode flags (see termios.c_lflag documentation)

Control characters (see termios.c_cc documentation)

Trait Implementations

impl Clone for Termios
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<termios> for Termios
[src]

[src]

Performs the conversion.

impl From<Termios> for termios
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Termios

impl !Sync for Termios