Struct serial2::Settings [−][src]
pub struct Settings { /* fields omitted */ }
Expand description
The settings of a serial port.
Implementations
Set the baud rate to be configured.
This function returns an error if the platform does not support the requested band-width.
Note that the device itself may also not support the requested baud rate, even if the platform does.
In that case SerialPort::set_configuration()
will return an error.
Get the baud rate from the configuration.
Set the number of bits in a character.
Get the number of bits in a character.
Set the number of stop bits following each character.
Get the number of stop bits following each character.
Set the partity check.
Get the partity check.
Set the flow control mechanism.
See the individual documentation of the FlowControl
variants for more information.
Get the flow control mechanism
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl UnwindSafe for Settings
Blanket Implementations
Mutably borrows from an owned value. Read more