pub struct MemoryDiff {
pub off: usize,
pub data: Bytes,
}
Expand description
A diff of some chunk of memory.
Fields§
§off: usize
Offset into memory the change begins.
data: Bytes
The changed data.
Trait Implementations§
Source§impl Clone for MemoryDiff
impl Clone for MemoryDiff
Source§fn clone(&self) -> MemoryDiff
fn clone(&self) -> MemoryDiff
Returns a copy 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 MemoryDiff
impl Debug for MemoryDiff
Source§impl Default for MemoryDiff
impl Default for MemoryDiff
Source§fn default() -> MemoryDiff
fn default() -> MemoryDiff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryDiff
impl<'de> Deserialize<'de> for MemoryDiff
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
Source§impl PartialEq for MemoryDiff
impl PartialEq for MemoryDiff
Source§impl Serialize for MemoryDiff
impl Serialize for MemoryDiff
impl StructuralPartialEq for MemoryDiff
Auto Trait Implementations§
impl Freeze for MemoryDiff
impl RefUnwindSafe for MemoryDiff
impl Send for MemoryDiff
impl Sync for MemoryDiff
impl Unpin for MemoryDiff
impl UnwindSafe for MemoryDiff
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