pub struct HvPlateIsospiCommunicationStatus(/* private fields */);Implementations§
Source§impl HvPlateIsospiCommunicationStatus
impl HvPlateIsospiCommunicationStatus
Sourcepub const fn with_state_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_state_checked(self, value: u8) -> Result<Self, ()>
Current IsoSPI state
Bits: 0..8
Sourcepub const fn with_state(self, value: u8) -> Self
pub const fn with_state(self, value: u8) -> Self
Current IsoSPI state
Bits: 0..8
Sourcepub const fn set_state_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_state_checked(&mut self, value: u8) -> Result<(), ()>
Current IsoSPI state
Bits: 0..8
Sourcepub const fn verification_attempts(&self) -> u8
pub const fn verification_attempts(&self) -> u8
Number of required recovery verification attempts
Bits: 8..16
Sourcepub const fn with_verification_attempts_checked(
self,
value: u8,
) -> Result<Self, ()>
pub const fn with_verification_attempts_checked( self, value: u8, ) -> Result<Self, ()>
Number of required recovery verification attempts
Bits: 8..16
Sourcepub const fn with_verification_attempts(self, value: u8) -> Self
pub const fn with_verification_attempts(self, value: u8) -> Self
Number of required recovery verification attempts
Bits: 8..16
Sourcepub const fn set_verification_attempts(&mut self, value: u8)
pub const fn set_verification_attempts(&mut self, value: u8)
Number of required recovery verification attempts
Bits: 8..16
Sourcepub const fn set_verification_attempts_checked(
&mut self,
value: u8,
) -> Result<(), ()>
pub const fn set_verification_attempts_checked( &mut self, value: u8, ) -> Result<(), ()>
Number of required recovery verification attempts
Bits: 8..16
Sourcepub const fn recovery_successful(&self) -> u8
pub const fn recovery_successful(&self) -> u8
IsoSPI recovery completed successfully
Bits: 16..17
Sourcepub const fn with_recovery_successful_checked(
self,
value: u8,
) -> Result<Self, ()>
pub const fn with_recovery_successful_checked( self, value: u8, ) -> Result<Self, ()>
IsoSPI recovery completed successfully
Bits: 16..17
Sourcepub const fn with_recovery_successful(self, value: u8) -> Self
pub const fn with_recovery_successful(self, value: u8) -> Self
IsoSPI recovery completed successfully
Bits: 16..17
Sourcepub const fn set_recovery_successful(&mut self, value: u8)
pub const fn set_recovery_successful(&mut self, value: u8)
IsoSPI recovery completed successfully
Bits: 16..17
Trait Implementations§
Source§impl Clone for HvPlateIsospiCommunicationStatus
impl Clone for HvPlateIsospiCommunicationStatus
Source§fn clone(&self) -> HvPlateIsospiCommunicationStatus
fn clone(&self) -> HvPlateIsospiCommunicationStatus
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 From<HvPlateIsospiCommunicationStatus> for u32
impl From<HvPlateIsospiCommunicationStatus> for u32
Source§fn from(v: HvPlateIsospiCommunicationStatus) -> Self
fn from(v: HvPlateIsospiCommunicationStatus) -> Self
Converts to this type from the input type.
Source§impl From<u32> for HvPlateIsospiCommunicationStatus
impl From<u32> for HvPlateIsospiCommunicationStatus
impl Copy for HvPlateIsospiCommunicationStatus
Auto Trait Implementations§
impl Freeze for HvPlateIsospiCommunicationStatus
impl RefUnwindSafe for HvPlateIsospiCommunicationStatus
impl Send for HvPlateIsospiCommunicationStatus
impl Sync for HvPlateIsospiCommunicationStatus
impl Unpin for HvPlateIsospiCommunicationStatus
impl UnwindSafe for HvPlateIsospiCommunicationStatus
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