#[repr(u32)]
pub enum TeletypeCommand {
Show 17 variants TCGETS, TCSETS, TCSETSW, TCSETSF, TCGETA, TCSETA, TCSETAW, TCSETAF, TIOCGPGRP, TIOCSPGRP, TIOCGWINSZ, TIOCSWINSZ, FIONCLEX, FIOCLEX, FIONBIO, RTC_RD_TIME, ILLEAGAL,
}

Variants

TCGETS

Gets the current serial port settings.

TCSETS

Sets the serial port settings immediately.

TCSETSW

Sets the serial port settings after allowing the input and output buffers to drain/empty.

TCSETSF

Sets the serial port settings after flushing the input and output buffers.

TCGETA

For struct termio Gets the current serial port settings.

TCSETA

Sets the serial port settings immediately.

TCSETAW

Sets the serial port settings after allowing the input and output buffers to drain/empty.

TCSETAF

Sets the serial port settings after flushing the input and output buffers.

TIOCGPGRP

Get the process group ID of the foreground process group on this terminal.

TIOCSPGRP

Set the foreground process group ID of this terminal.

TIOCGWINSZ

Get window size.

TIOCSWINSZ

Set window size.

FIONCLEX

Non-cloexec

FIOCLEX

Cloexec

FIONBIO

rustc using pipe and ioctl pipe file with this request id for non-blocking/blocking IO control setting

RTC_RD_TIME

Read time

ILLEAGAL

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.