pub trait FromConsumer {
    fn try_from_consumer_config(config: Config) -> Result<Self, Error>
    where
        Self: Sized
; }
Expand description

Trait used to convert generic Stream Config into either Pull or [Push][crate::jetstream::consumer::PushConsumerConfig] config. It validates if given config is a valid target one.

Required Methods

Implementors