Skip to main content

OutputHandler

Trait OutputHandler 

Source
pub trait OutputHandler<O> {
    // Required method
    fn handle(&self, output: O);
}
Expand description

Handles one machine output synchronously.

Required Methods§

Source

fn handle(&self, output: O)

Handle the complete output of one transition.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<O, F> OutputHandler<O> for F
where F: Fn(O),