pub trait FileDescriptorConfig: NamedComponent {
    // Required methods
    fn host_key(&self) -> Option<OptionalValuePath>;
    fn framing(&self) -> Option<FramingConfig>;
    fn decoding(&self) -> DeserializerConfig;
    fn description(&self) -> String;

    // Provided method
    fn source<R>(
        &self,
        reader: R,
        shutdown: ShutdownSignal,
        out: SourceSender,
        log_namespace: LogNamespace,
    ) -> Result<Source>
       where R: Send + BufRead + 'static { ... }
}

Required Methods§

Provided Methods§

source

fn source<R>( &self, reader: R, shutdown: ShutdownSignal, out: SourceSender, log_namespace: LogNamespace, ) -> Result<Source>
where R: Send + BufRead + 'static,

Object Safety§

This trait is not object safe.

Implementors§