#[repr(u8)]pub enum Stoplen {
BIT_1 = 0,
BITS_2 = 1,
}Variants§
BIT_1 = 0
1 stop bit.
BITS_2 = 1
2 stop bits. This setting should only be used for asynchronous communication.
Implementations§
Trait Implementations§
Source§impl Ord for Stoplen
impl Ord for Stoplen
Source§impl PartialOrd for Stoplen
impl PartialOrd for Stoplen
impl Copy for Stoplen
impl Eq for Stoplen
impl StructuralPartialEq for Stoplen
Auto Trait Implementations§
impl Freeze for Stoplen
impl RefUnwindSafe for Stoplen
impl Send for Stoplen
impl Sync for Stoplen
impl Unpin for Stoplen
impl UnwindSafe for Stoplen
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