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 Freeze for ThreadBuilder
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