pub enum ModemControl {
RTSClear,
RTSSet,
DTRClear,
DTRSet,
}Expand description
Defines the modem control lines.
Variants§
Trait Implementations§
Source§impl Clone for ModemControl
impl Clone for ModemControl
Source§fn clone(&self) -> ModemControl
fn clone(&self) -> ModemControl
Returns a duplicate 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 ModemControl
impl Debug for ModemControl
Source§impl PartialEq for ModemControl
impl PartialEq for ModemControl
impl Copy for ModemControl
impl Eq for ModemControl
impl StructuralPartialEq for ModemControl
Auto Trait Implementations§
impl Freeze for ModemControl
impl RefUnwindSafe for ModemControl
impl Send for ModemControl
impl Sync for ModemControl
impl Unpin for ModemControl
impl UnwindSafe for ModemControl
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