pub struct WriteFilePayload {
pub address: i32,
pub chunk_data: Vec<u8>,
}
Fields§
§address: i32
Memory address to write to.
chunk_data: Vec<u8>
A sequence of bytes to write. Must be 4-byte aligned.
Trait Implementations§
Source§impl Clone for WriteFilePayload
impl Clone for WriteFilePayload
Source§fn clone(&self) -> WriteFilePayload
fn clone(&self) -> WriteFilePayload
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 WriteFilePayload
impl Debug for WriteFilePayload
Source§impl Encode for WriteFilePayload
impl Encode for WriteFilePayload
fn into_encoded(self) -> Result<Vec<u8>, EncodeError>where
Self: Sized,
Source§impl PartialEq for WriteFilePayload
impl PartialEq for WriteFilePayload
impl Eq for WriteFilePayload
impl StructuralPartialEq for WriteFilePayload
Auto Trait Implementations§
impl Freeze for WriteFilePayload
impl RefUnwindSafe for WriteFilePayload
impl Send for WriteFilePayload
impl Sync for WriteFilePayload
impl Unpin for WriteFilePayload
impl UnwindSafe for WriteFilePayload
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more