CuSimSinkInput

Trait CuSimSinkInput 

Source
pub trait CuSimSinkInput {
    type With<'m>: CuMsgPack
       where Self: 'm;
}
Expand description

Helper to map a payload type (or tuple of payload types) to the corresponding input_msg! form.

Required Associated Types§

Source

type With<'m>: CuMsgPack where Self: 'm

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T1> CuSimSinkInput for (T1,)
where T1: CuMsgPayload,

Source§

type With<'m> = CuStampedData<T1, CuMsgMetadata> where (T1,): 'm

Source§

impl<T1, T2> CuSimSinkInput for (T1, T2)
where T1: CuMsgPayload, T2: CuMsgPayload,

Source§

impl<T1, T2, T3> CuSimSinkInput for (T1, T2, T3)

Source§

impl<T1, T2, T3, T4> CuSimSinkInput for (T1, T2, T3, T4)

Source§

impl<T1, T2, T3, T4, T5> CuSimSinkInput for (T1, T2, T3, T4, T5)

Implementors§