Enum tokio_serial::FlowControl
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
impl Clone for FlowControl
impl Clone for FlowControl
fn clone(&self) -> FlowControl
fn clone(&self) -> FlowControl
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for FlowControl
impl Debug for FlowControl
impl PartialEq<FlowControl> for FlowControl
impl PartialEq<FlowControl> for FlowControl
fn eq(&self, other: &FlowControl) -> bool
fn eq(&self, other: &FlowControl) -> bool
impl Copy for FlowControl
impl Eq for FlowControl
impl StructuralEq for FlowControl
impl StructuralPartialEq for FlowControl
Auto Trait Implementations
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnwindSafe for FlowControl
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more