Module speed

Source
Available on crate feature termios only.
Expand description

Speeds for use with Termios::set_input_speed and Termios::set_output_speed.

Unlike in some platforms’ libc APIs, these always have the same numerical value as their names; for example, B50 has the value 50, and so on. Consequently, it’s not necessary to use them. They are provided here because they help identify speeds which are likely to be supported, on platforms which don’t support arbitrary speeds.

Constants§

B0
B0
B50
B50
B75
B75
B110
B110
B134
B134
B150
B150
B200
B200
B300
B300
B600
B600
B1200
B1200
B1800
B1800
B2400
B2400
B4800
B4800
B9600
B9600
B19200
B19200
B38400
B38400
B57600
B57600
B115200
B115200
B230400
B230400
B460800
B460800
B500000
B500000
B576000
B576000
B921600
B921600
B1000000
B1000000
B1152000
B1152000
B1500000
B1500000
B2000000
B2000000
B2500000
B2500000
B3000000
B3000000
B3500000
B3500000
B4000000
B4000000