Struct serial2::KeepSettings [−][src]
pub struct KeepSettings;
Expand description
A serial port “configuration” that simply keeps all existing settings.
You can pass this to SerialPort::open()
to prevent it from changing any port settings.
Note: many platforms reset the configuration of a serial port when it is no longer in use. You should normally explicitly configure the settings that you care about.