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 Display for FlowControl
impl Display for FlowControl
source§impl PartialEq for FlowControl
impl PartialEq 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 ==
.impl Copy for FlowControl
impl Eq for FlowControl
impl StructuralPartialEq for FlowControl
Auto Trait Implementations§
impl Freeze for FlowControl
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnwindSafe for FlowControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more