Skip to main content

StreamApiExt

Trait StreamApiExt 

Source
pub trait StreamApiExt<This> {
    // Required method
    fn stream_api<Alg>(&self) -> StreamApiProgram<Alg>
       where Alg: TicksAlg;
}
Expand description

Declares the streamed surface, which every interpretation carrying a produced body compiles.

Required Methods§

Source

fn stream_api<Alg>(&self) -> StreamApiProgram<Alg>
where Alg: TicksAlg,

Declares one endpoint answering with a body produced over time.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<This> StreamApiExt<This> for This

Declares the streamed surface, which every interpretation carrying a produced body compiles.