pub struct HvPlatePecErrors(/* private fields */);Implementations§
Source§impl HvPlatePecErrors
impl HvPlatePecErrors
Sourcepub const fn pec_errors(&self) -> u16
pub const fn pec_errors(&self) -> u16
PEC error count for communications with HV Plate
Bits: 0..16
Sourcepub const fn with_pec_errors_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_pec_errors_checked(self, value: u16) -> Result<Self, ()>
PEC error count for communications with HV Plate
Bits: 0..16
Sourcepub const fn with_pec_errors(self, value: u16) -> Self
pub const fn with_pec_errors(self, value: u16) -> Self
PEC error count for communications with HV Plate
Bits: 0..16
Sourcepub const fn set_pec_errors(&mut self, value: u16)
pub const fn set_pec_errors(&mut self, value: u16)
PEC error count for communications with HV Plate
Bits: 0..16
Trait Implementations§
Source§impl Clone for HvPlatePecErrors
impl Clone for HvPlatePecErrors
Source§fn clone(&self) -> HvPlatePecErrors
fn clone(&self) -> HvPlatePecErrors
Returns a duplicate 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 Debug for HvPlatePecErrors
impl Debug for HvPlatePecErrors
Source§impl Default for HvPlatePecErrors
impl Default for HvPlatePecErrors
Source§impl From<HvPlatePecErrors> for u16
impl From<HvPlatePecErrors> for u16
Source§fn from(v: HvPlatePecErrors) -> Self
fn from(v: HvPlatePecErrors) -> Self
Converts to this type from the input type.
Source§impl From<u16> for HvPlatePecErrors
impl From<u16> for HvPlatePecErrors
Source§impl ToCanFrame for HvPlatePecErrors
impl ToCanFrame for HvPlatePecErrors
impl Copy for HvPlatePecErrors
Auto Trait Implementations§
impl Freeze for HvPlatePecErrors
impl RefUnwindSafe for HvPlatePecErrors
impl Send for HvPlatePecErrors
impl Sync for HvPlatePecErrors
impl Unpin for HvPlatePecErrors
impl UnwindSafe for HvPlatePecErrors
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