Skip to main content

HasStreaming

Trait HasStreaming 

Source
pub trait HasStreaming {
    // Required method
    fn streaming(&self) -> &StreamingContext;
}
Expand description

Trait implemented by store data types that can hand out a StreamingContext. Parallels crate::host::HasWasiCuda; the executor’s InstanceState will implement this once the v0.4 wiring lands.

Required Methods§

Source

fn streaming(&self) -> &StreamingContext

Borrow the streaming context.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§