Skip to main content

TurnTrace

Trait TurnTrace 

Source
pub trait TurnTrace: Send + Sync {
    // Required method
    fn event(&self, event: &TraceEvent<'_>);
}
Expand description

Where a runtime reports its turns. It must not block for long: it runs on the turn.

Required Methods§

Source

fn event(&self, event: &TraceEvent<'_>)

Records one event.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§