Skip to main content

EngineStream

Trait EngineStream 

Source
pub trait EngineStream: Engine {
    type View<'a>
       where Self: 'a;

    // Required method
    fn run<F>(self, limit: F) -> Result<Self::Epoch>
       where F: Fn(Self::View<'_>) -> bool + 'static;
}

Required Associated Types§

Source

type View<'a> where Self: 'a

Required Methods§

Source

fn run<F>(self, limit: F) -> Result<Self::Epoch>
where F: Fn(Self::View<'_>) -> bool + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§