pub trait Record: Send {
    type CreationData: Clone + Send;
    type Error: Error + Send + 'static;

    fn func_for_input(
        name: &str,
        data: Self::CreationData
    ) -> Result<ValueProjection<Self, Self::Error>, Self::Error>; }
Expand description

This trait provides functionality to parse a record into an event. It is only used in combination with the RecordInput.

Required Associated Types§

Arbitrary type of the data provided at creation time to help initializing the input method.

The error returned if anything goes wrong.

Required Methods§

Given the name of an input this function returns a function that given a record returns the value for that input.

Implementors§