Enum mio_serial::FlowControl
source · pub enum FlowControl {
None,
Software,
Hardware,
}
Expand description
Flow control modes
Variants§
None
No flow control.
Software
Flow control using XON/XOFF bytes.
Hardware
Flow control using RTS/CTS signals.
Trait Implementations§
source§impl Clone for FlowControl
impl Clone for FlowControl
source§fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FlowControl
impl Debug for FlowControl
source§impl PartialEq<FlowControl> for FlowControl
impl PartialEq<FlowControl> for FlowControl
source§fn eq(&self, other: &FlowControl) -> bool
fn eq(&self, other: &FlowControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.