pub struct ReadMemoryResponse {
pub status: StatusCode,
pub response_words: Box<[u32]>,
pub bytes: Box<[u8]>,
}Expand description
Response structure for CommandTag::ReadMemory command
Contains the status code, response metadata, and actual data bytes read.
Fields§
§status: StatusCodeStatus code of the operation
response_words: Box<[u32]>Response metadata (typically contains the byte count)
bytes: Box<[u8]>Actual data bytes read from memory
Trait Implementations§
Source§impl Clone for ReadMemoryResponse
impl Clone for ReadMemoryResponse
Source§fn clone(&self) -> ReadMemoryResponse
fn clone(&self) -> ReadMemoryResponse
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 moreAuto Trait Implementations§
impl Freeze for ReadMemoryResponse
impl RefUnwindSafe for ReadMemoryResponse
impl Send for ReadMemoryResponse
impl Sync for ReadMemoryResponse
impl Unpin for ReadMemoryResponse
impl UnwindSafe for ReadMemoryResponse
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