pub struct ReadExceptionStatusResponse {
pub status: u8,
}Expand description
Response to a Read Exception Status request (FC 0x07).
Fields§
§status: u8Eight exception status bits packed into one byte.
Implementations§
Trait Implementations§
Source§impl Debug for ReadExceptionStatusResponse
impl Debug for ReadExceptionStatusResponse
Source§impl Encode for ReadExceptionStatusResponse
impl Encode for ReadExceptionStatusResponse
Source§fn encode_into(&self, buf: &mut [u8]) -> Result<usize, EncodeError>
fn encode_into(&self, buf: &mut [u8]) -> Result<usize, EncodeError>
Write the full PDU (function code + data) into
buf. Read moreSource§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Total encoded length in bytes (including the function code byte).
Auto Trait Implementations§
impl Freeze for ReadExceptionStatusResponse
impl RefUnwindSafe for ReadExceptionStatusResponse
impl Send for ReadExceptionStatusResponse
impl Sync for ReadExceptionStatusResponse
impl Unpin for ReadExceptionStatusResponse
impl UnsafeUnpin for ReadExceptionStatusResponse
impl UnwindSafe for ReadExceptionStatusResponse
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