Skip to main content

StepSink

Trait StepSink 

Source
pub trait StepSink: Send + Sync {
    // Required method
    fn step(&self, step: Step);
}
Expand description

Receives the steps of a turn as they happen.

Required Methods§

Source

fn step(&self, step: Step)

Delivers one step. Implementations must not block.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§