#[repr(u8)]pub enum DtrMode {
Inactive = 0,
Active = 1,
FlowControl = 2,
}Expand description
DTR output mode (AN571 Table 10, SERIAL_DTR_MASK).
Variants§
Inactive = 0
DTR held inactive.
Active = 1
DTR held active.
FlowControl = 2
DTR driven by the CP210x flow-control logic.
Trait Implementations§
impl Copy for DtrMode
impl Eq for DtrMode
impl StructuralPartialEq for DtrMode
Auto Trait Implementations§
impl Freeze for DtrMode
impl RefUnwindSafe for DtrMode
impl Send for DtrMode
impl Sync for DtrMode
impl Unpin for DtrMode
impl UnwindSafe for DtrMode
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