#[repr(u8)]pub enum Paritysel {
NO_PARITY = 0,
_RESERVED_1 = 1,
EVEN_PARITY = 2,
ODD_PARITY = 3,
}Variants§
NO_PARITY = 0
No parity.
_RESERVED_1 = 1
EVEN_PARITY = 2
Even parity. Adds a bit to each character such that the number of 1s in a transmitted character is even, and the number of 1s in a received character is expected to be even.
ODD_PARITY = 3
Odd parity. Adds a bit to each character such that the number of 1s in a transmitted character is odd, and the number of 1s in a received character is expected to be odd.
Implementations§
Trait Implementations§
Source§impl Ord for Paritysel
impl Ord for Paritysel
Source§impl PartialOrd for Paritysel
impl PartialOrd for Paritysel
impl Copy for Paritysel
impl Eq for Paritysel
impl StructuralPartialEq for Paritysel
Auto Trait Implementations§
impl Freeze for Paritysel
impl RefUnwindSafe for Paritysel
impl Send for Paritysel
impl Sync for Paritysel
impl Unpin for Paritysel
impl UnwindSafe for Paritysel
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