Struct wasm_coredump_builder::ThreadBuilder
source · pub struct ThreadBuilder { /* private fields */ }
Expand description
Coredump thread builder
Implementations§
source§impl ThreadBuilder
impl ThreadBuilder
sourcepub fn thread_name(self, name: &str) -> Self
pub fn thread_name(self, name: &str) -> Self
Set the thread name. By conventions “main” should be set for single threaded applications.
sourcepub fn add_frame(&mut self, frame: StackFrame)
pub fn add_frame(&mut self, frame: StackFrame)
Add a stack frame to the thread
Trait Implementations§
source§impl Default for ThreadBuilder
impl Default for ThreadBuilder
source§fn default() -> ThreadBuilder
fn default() -> ThreadBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ThreadBuilder
impl Send for ThreadBuilder
impl Sync for ThreadBuilder
impl Unpin for ThreadBuilder
impl UnwindSafe for ThreadBuilder
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