pub trait ComponentInterface {
    fn process(
        messages: InboundComponentMsg<'_>
    ) -> Result<Vec<OutboundComponentMsg, Global>, ComponentError>; }

Required Methods§

Process inbound message, producing zero or more outbound messages in response Note that all state for the component must be stored using the secret mechanism.

Implementors§