Trait vector::sources::file_descriptors::FileDescriptorConfig
source · 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§
fn host_key(&self) -> Option<OptionalValuePath>
fn framing(&self) -> Option<FramingConfig>
fn decoding(&self) -> DeserializerConfig
fn description(&self) -> String
Provided Methods§
fn source<R>( &self, reader: R, shutdown: ShutdownSignal, out: SourceSender, log_namespace: LogNamespace, ) -> Result<Source>
Object Safety§
This trait is not object safe.