pub trait HasInput {
// Required method
fn input(&self) -> &InputContext;
}Expand description
Trait implemented by store data types that can hand out an
InputContext. Parallels HasStreaming; the executor’s
InstanceState implements it so the input-len / read-input host
functions reach the per-instance staged buffer.
Required Methods§
Sourcefn input(&self) -> &InputContext
fn input(&self) -> &InputContext
Borrow the input context.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".