pub enum FlowControl {
Disabled = 0,
RtsCts = 3,
XonXoff = 4,
}Variants§
Disabled = 0
- 0: disable DTE flow control
RtsCts = 3
- 3 (default and factory-programmed value): enable the RTS/CTS DTE flow control
XonXoff = 4
- 4: enable the XON/XOFF DTE flow control
- 5: enable the XON/XOFF DTE flow control
- 6: enable the XON/XOFF DTE flow control
Trait Implementations§
Source§impl Clone for FlowControl
impl Clone for FlowControl
Source§impl<'de> Deserialize<'de> for FlowControl
impl<'de> Deserialize<'de> for FlowControl
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FlowControl
Source§impl PartialEq for FlowControl
impl PartialEq for FlowControl
Source§impl Serialize for FlowControl
impl Serialize for FlowControl
impl StructuralPartialEq for FlowControl
Auto Trait Implementations§
impl Forget for FlowControl
impl Freeze for FlowControl
impl Move for FlowControl
impl RefUnwindSafe for FlowControl
impl Send for FlowControl
impl Sync for FlowControl
impl Unpin for FlowControl
impl UnsafeUnpin 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