#[repr(u8)]pub enum ConfigParity {
EXCLUDED = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
INCLUDED = 7,
}
Variants§
EXCLUDED = 0
Exclude parity bit
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
INCLUDED = 7
Include even parity bit
Implementations§
Source§impl ConfigParity
impl ConfigParity
Trait Implementations§
Source§impl Clone for ConfigParity
impl Clone for ConfigParity
Source§fn clone(&self) -> ConfigParity
fn clone(&self) -> ConfigParity
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<ConfigParity> for u8
impl From<ConfigParity> for u8
Source§fn from(val: ConfigParity) -> u8
fn from(val: ConfigParity) -> u8
Converts to this type from the input type.
Source§impl From<u8> for ConfigParity
impl From<u8> for ConfigParity
Source§fn from(val: u8) -> ConfigParity
fn from(val: u8) -> ConfigParity
Converts to this type from the input type.
Source§impl Ord for ConfigParity
impl Ord for ConfigParity
Source§fn cmp(&self, other: &ConfigParity) -> Ordering
fn cmp(&self, other: &ConfigParity) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ConfigParity
impl PartialEq for ConfigParity
Source§impl PartialOrd for ConfigParity
impl PartialOrd for ConfigParity
impl Copy for ConfigParity
impl Eq for ConfigParity
impl StructuralPartialEq for ConfigParity
Auto Trait Implementations§
impl Freeze for ConfigParity
impl RefUnwindSafe for ConfigParity
impl Send for ConfigParity
impl Sync for ConfigParity
impl Unpin for ConfigParity
impl UnwindSafe for ConfigParity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)