pub enum DataBits {
Five,
Six,
Seven,
Eight,
}Expand description
Number of data bits per frame.
Variants§
Five
5 data bits per frame.
Six
6 data bits per frame.
Seven
7 data bits per frame.
Eight
8 data bits per frame (the default and the only mode most USB-serial bridges support).
Implementations§
Trait Implementations§
impl Copy for DataBits
impl Eq for DataBits
impl StructuralPartialEq for DataBits
Auto Trait Implementations§
impl Freeze for DataBits
impl RefUnwindSafe for DataBits
impl Send for DataBits
impl Sync for DataBits
impl Unpin for DataBits
impl UnsafeUnpin for DataBits
impl UnwindSafe for DataBits
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