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§
Sourcefn stream_api<Alg>(&self) -> StreamApiProgram<Alg>where
Alg: TicksAlg,
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§
impl<This> StreamApiExt<This> for This
Declares the streamed surface, which every interpretation carrying a produced body compiles.