pub struct WriteMemoryArguments {
pub memory_reference: String,
pub offset: Option<u64>,
pub allow_partial: Option<bool>,
pub data: String,
}
Expand description
Arguments for writeMemory
request.
Fields§
§memory_reference: String
Memory reference to the base location to which data should be written.
offset: Option<u64>
Offset (in bytes) to be applied to the reference location before writing data. Can be negative.
allow_partial: Option<bool>
Property to control partial writes. If true, the debug adapter should attempt to write memory even if the entire memory region is not writable. In such a case the debug adapter should stop after hitting the first byte of memory that cannot be written and return the number of bytes written in the response via the offset
and bytesWritten
properties.
If false or missing, a debug adapter should attempt to verify the region is writable before writing, and fail the response if it is not.
data: String
Bytes to write, encoded using base64.
Trait Implementations§
Source§impl Clone for WriteMemoryArguments
impl Clone for WriteMemoryArguments
Source§fn clone(&self) -> WriteMemoryArguments
fn clone(&self) -> WriteMemoryArguments
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 WriteMemoryArguments
impl Debug for WriteMemoryArguments
Source§impl<'de> Deserialize<'de> for WriteMemoryArguments
impl<'de> Deserialize<'de> for WriteMemoryArguments
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 WriteMemoryArguments
impl RefUnwindSafe for WriteMemoryArguments
impl Send for WriteMemoryArguments
impl Sync for WriteMemoryArguments
impl Unpin for WriteMemoryArguments
impl UnwindSafe for WriteMemoryArguments
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