pub fn speed_value(speed: Speed) -> Option<u32>
Translate from a Speed code to a speed value u32.
Speed
u32
let speed = rustix::termios::speed_value(rustix::termios::B57600); assert_eq!(speed, Some(57600));