pub enum StopBits {
OneBit,
TwoBits,
}
Expand description
Number of stop bits in a UART frame
Variants
OneBit
1 stop bit
TwoBits
2 stop bits
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StopBits
impl Send for StopBits
impl Sync for StopBits
impl Unpin for StopBits
impl UnwindSafe for StopBits
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more