pub enum Parity {
None,
Odd,
Even,
High,
Low,
}
Expand description
Parity setting for line protocol.
Variants§
None
No parity bit.
Odd
Set parity so that there are an odd number of high bits in the word.
Even
Set parity so that there are an even number of high bits in the word.
High
Set parity bit high unconditionally (sticky).
Low
Set parity bit low unconditionally (sticky).
Trait Implementations§
impl Copy for Parity
impl Eq for Parity
impl StructuralPartialEq for Parity
Auto Trait Implementations§
impl Freeze for Parity
impl RefUnwindSafe for Parity
impl Send for Parity
impl Sync for Parity
impl Unpin for Parity
impl UnwindSafe for Parity
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