pub struct ReportServerIdResponse<'buf> {
pub byte_count: u8,
pub data: &'buf [u8],
}Expand description
Response to a Report Server ID request (FC 0x11).
Fields§
§byte_count: u8Number of data bytes that follow.
data: &'buf [u8]Device-specific identification data.
Implementations§
Source§impl<'buf> ReportServerIdResponse<'buf>
impl<'buf> ReportServerIdResponse<'buf>
Trait Implementations§
Source§impl<'buf> Debug for ReportServerIdResponse<'buf>
impl<'buf> Debug for ReportServerIdResponse<'buf>
Source§impl Encode for ReportServerIdResponse<'_>
impl Encode for ReportServerIdResponse<'_>
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<'buf> Freeze for ReportServerIdResponse<'buf>
impl<'buf> RefUnwindSafe for ReportServerIdResponse<'buf>
impl<'buf> Send for ReportServerIdResponse<'buf>
impl<'buf> Sync for ReportServerIdResponse<'buf>
impl<'buf> Unpin for ReportServerIdResponse<'buf>
impl<'buf> UnsafeUnpin for ReportServerIdResponse<'buf>
impl<'buf> UnwindSafe for ReportServerIdResponse<'buf>
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