pub struct ReadFifoQueueRequest {
pub fifo_pointer_address: Address,
}Expand description
FC 0x18 — Read FIFO Queue request.
Reads the contents of the FIFO queue at the given pointer address.
Fields§
§fifo_pointer_address: AddressFIFO pointer address.
Implementations§
Source§impl ReadFifoQueueRequest
impl ReadFifoQueueRequest
Sourcepub fn decode(data: &[u8]) -> Result<Self, DecodeError>
pub fn decode(data: &[u8]) -> Result<Self, DecodeError>
Decode from PDU data after the function code byte.
§Errors
Returns DecodeError::Truncated if data is shorter than 2 bytes.
Returns DecodeError::LengthMismatch if data has extra bytes.
Trait Implementations§
Source§impl Clone for ReadFifoQueueRequest
impl Clone for ReadFifoQueueRequest
Source§fn clone(&self) -> ReadFifoQueueRequest
fn clone(&self) -> ReadFifoQueueRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReadFifoQueueRequest
Source§impl Debug for ReadFifoQueueRequest
impl Debug for ReadFifoQueueRequest
Source§impl Encode for ReadFifoQueueRequest
impl Encode for ReadFifoQueueRequest
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).
impl Eq for ReadFifoQueueRequest
Source§impl PartialEq for ReadFifoQueueRequest
impl PartialEq for ReadFifoQueueRequest
Source§fn eq(&self, other: &ReadFifoQueueRequest) -> bool
fn eq(&self, other: &ReadFifoQueueRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReadFifoQueueRequest
Auto Trait Implementations§
impl Freeze for ReadFifoQueueRequest
impl RefUnwindSafe for ReadFifoQueueRequest
impl Send for ReadFifoQueueRequest
impl Sync for ReadFifoQueueRequest
impl Unpin for ReadFifoQueueRequest
impl UnsafeUnpin for ReadFifoQueueRequest
impl UnwindSafe for ReadFifoQueueRequest
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