Struct wasm_coredump_builder::CoredumpBuilder
source · pub struct CoredumpBuilder { /* private fields */ }
Expand description
Coredump builder
Implementations§
source§impl CoredumpBuilder
impl CoredumpBuilder
sourcepub fn executable_name(self, name: &str) -> Self
pub fn executable_name(self, name: &str) -> Self
Set the executable name
sourcepub fn data(self, bytes: &[u8]) -> Self
pub fn data(self, bytes: &[u8]) -> Self
Set the complete process image Note that partial process image dump are not supported yet.
sourcepub fn add_thread(&mut self, thread: CoreStack)
pub fn add_thread(&mut self, thread: CoreStack)
Add a thread to the coredump
Trait Implementations§
source§impl Default for CoredumpBuilder
impl Default for CoredumpBuilder
source§fn default() -> CoredumpBuilder
fn default() -> CoredumpBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CoredumpBuilder
impl Send for CoredumpBuilder
impl Sync for CoredumpBuilder
impl Unpin for CoredumpBuilder
impl UnwindSafe for CoredumpBuilder
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