pub struct Thread {
pub id: usize,
pub name: Option<String>,
pub spans: Vec<Span>,
/* private fields */
}
Expand description
A collection of events that happened on a single thread.
Fields§
§id: usize
§name: Option<String>
§spans: Vec<Span>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Thread
impl RefUnwindSafe for Thread
impl Send for Thread
impl Sync for Thread
impl Unpin for Thread
impl UnwindSafe for Thread
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