pub struct ReadMemoryResponse {
pub address: String,
pub unreadable_bytes: Option<u64>,
pub data: Option<String>,
}
Expand description
Response to readMemory
request.
Fields§
§address: String
The address of the first byte of data returned.
Treated as a hex value if prefixed with 0x
, or as a decimal value otherwise.
unreadable_bytes: Option<u64>
The number of unreadable bytes encountered after the last successfully read byte.
This can be used to determine the number of bytes that should be skipped before a subsequent readMemory
request succeeds.
data: Option<String>
The bytes read from memory, encoded using base64. If the decoded length of data
is less than the requested count
in the original readMemory
request, and unreadableBytes
is zero or omitted, then the client should assume it’s reached the end of readable 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 moreSource§impl Debug for ReadMemoryResponse
impl Debug for ReadMemoryResponse
Source§impl<'de> Deserialize<'de> for ReadMemoryResponse
impl<'de> Deserialize<'de> for ReadMemoryResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto 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