pub struct DiagnosticProjection { /* private fields */ }Expand description
Latest durable diagnostic per incident, ordered by its most recent transition. Feed this once during session resume; live turns use the existing event sink.
Implementations§
Source§impl DiagnosticProjection
impl DiagnosticProjection
pub fn observe(&mut self, event: &ThreadEvent)
pub fn into_diagnostics(self) -> Vec<Diagnostic>
Trait Implementations§
Auto Trait Implementations§
impl Forget for DiagnosticProjection
impl Freeze for DiagnosticProjectionwhere
*const LeafNode<String, (u64, Diagnostic)> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, (u64, Diagnostic))>>: Freeze,
impl Move for DiagnosticProjection
impl RefUnwindSafe for DiagnosticProjection
impl Send for DiagnosticProjectionwhere
NodeRef<Owned, String, (u64, Diagnostic), LeafOrInternal>: Send,
BoxRaw<(String, (u64, Diagnostic))>: Send,
impl Sync for DiagnosticProjectionwhere
NodeRef<Owned, String, (u64, Diagnostic), LeafOrInternal>: Sync,
BoxRaw<(String, (u64, Diagnostic))>: Sync,
impl Unpin for DiagnosticProjectionwhere
*const LeafNode<String, (u64, Diagnostic)> is !null: Unpin,
Box<(String, (u64, Diagnostic))>: Unpin,
impl UnsafeUnpin for DiagnosticProjectionwhere
*const LeafNode<String, (u64, Diagnostic)> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, (u64, Diagnostic))>>: UnsafeUnpin,
impl UnwindSafe for DiagnosticProjection
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