pub struct CoreDumpInstance {
pub module_index: u32,
pub memories: Vec<u32>,
pub globals: Vec<u32>,
}
Expand description
A single instance from a coredump instances section
Fields§
§module_index: u32
The module that this is an instance of, as an index into a “coremodules” section.
memories: Vec<u32>
Which of the coredump’s memories are this instance’s memories, via indexing into the memory index space.
globals: Vec<u32>
Which of the coredump’s globals are this instance’s globals, via indexing into the global index space.
Trait Implementations§
source§impl Debug for CoreDumpInstance
impl Debug for CoreDumpInstance
source§impl<'a> FromReader<'a> for CoreDumpInstance
impl<'a> FromReader<'a> for CoreDumpInstance
source§fn from_reader(
reader: &mut BinaryReader<'a>,
) -> Result<CoreDumpInstance, BinaryReaderError>
fn from_reader( reader: &mut BinaryReader<'a>, ) -> Result<CoreDumpInstance, BinaryReaderError>
Attempts to read
Self
from the provided binary reader, returning an
error if it is unable to do so.Auto Trait Implementations§
impl Freeze for CoreDumpInstance
impl RefUnwindSafe for CoreDumpInstance
impl Send for CoreDumpInstance
impl Sync for CoreDumpInstance
impl Unpin for CoreDumpInstance
impl UnwindSafe for CoreDumpInstance
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> 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