Function rustix::termios::speed_value
source · [−]Available on crate feature
termios
only.Expand description
Translate from a Speed
code to a speed value u32
.
let speed = rustix::termios::speed_value(rustix::termios::B57600);
assert_eq!(speed, Some(57600));