Skip to main content

SendInput

Trait SendInput 

Source
pub trait SendInput<Input, Path> {
    // Required method
    fn emit(&mut self, input: Input);
}
Expand description

Static evidence that a sends type contains one request lane.

Implementations append the input exactly once to that lane and leave every other lane unchanged. Path distinguishes repeated request types without erasing their position or choosing a lane at runtime.

Own selects a named product’s own semantic lane. SendLayer carries wrapper-owned and inner effects as explicit named fields; request routing remains a compile-time proof rather than a runtime lane lookup.

Required Methods§

Source

fn emit(&mut self, input: Input)

Implementations on Foreign Types§

Source§

impl<T> SendInput<T, Own> for Vec<T>

Source§

fn emit(&mut self, input: T)

Implementors§

Source§

impl<Input, Path, Owned, Inner> SendInput<Input, Path> for SendLayer<Owned, Inner>
where Owned: SendInput<Input, Path>,

Source§

impl<Item> SendInput<Item, Own> for SourceActions<Item>

Source§

impl<M> SendInput<M, Own> for InterpreterRequests<M>