Skip to main content

Input

Trait Input 

Source
pub trait Input {
    type Axis: Axis;
}
Expand description

A Handle input spelling: a decoded T, a Deserialized type, a Message<H, P> pair, a value the delivery already holds (Carries), or a batch (slice) of any of them.

Required Associated Types§

Source

type Axis: Axis

The lifetime-free marker every machinery projection hangs off.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<E> Input for [E]
where E: Input, <E as Input>::Axis: BatchedFrom,

Source§

type Axis = <<E as Input>::Axis as BatchedFrom>::Batch

Implementors§

Source§

impl<H, P> Input for Message<H, P>
where H: DeserializeOwned + Send + Sync + 'static, P: DeserializeOwned + Send + Sync + 'static,

Source§

type Axis = SoloPair<H, P>

Source§

impl<T> Input for T
where T: DeserializeOwned + Send + Sync + 'static,

Source§

type Axis = Solo<T>