pub struct SegmentIsospiCommunicationStatus(/* private fields */);Implementations§
Source§impl SegmentIsospiCommunicationStatus
impl SegmentIsospiCommunicationStatus
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 break_location(&self) -> u8
pub const fn break_location(&self) -> u8
Detected break location
Bits: 8..16
Sourcepub const fn with_break_location_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_break_location_checked(self, value: u8) -> Result<Self, ()>
Detected break location
Bits: 8..16
Sourcepub const fn with_break_location(self, value: u8) -> Self
pub const fn with_break_location(self, value: u8) -> Self
Detected break location
Bits: 8..16
Sourcepub const fn set_break_location(&mut self, value: u8)
pub const fn set_break_location(&mut self, value: u8)
Detected break location
Bits: 8..16
Sourcepub const fn set_break_location_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_break_location_checked(&mut self, value: u8) -> Result<(), ()>
Detected break location
Bits: 8..16
Sourcepub const fn verification_attempts(&self) -> u8
pub const fn verification_attempts(&self) -> u8
Number of required recovery verification attempts
Bits: 16..24
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: 16..24
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: 16..24
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: 16..24
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: 16..24
Sourcepub const fn recovery_successful(&self) -> u8
pub const fn recovery_successful(&self) -> u8
IsoSPI recovery completed successfully
Bits: 24..25
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: 24..25
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: 24..25
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: 24..25
Trait Implementations§
Source§impl Clone for SegmentIsospiCommunicationStatus
impl Clone for SegmentIsospiCommunicationStatus
Source§fn clone(&self) -> SegmentIsospiCommunicationStatus
fn clone(&self) -> SegmentIsospiCommunicationStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more