vector::components::validation

Trait ValidatableComponent

Source
pub trait ValidatableComponent: Send + Sync {
    // Required method
    fn validation_configuration() -> ValidationConfiguration;
}

Required Methods§

Source

fn validation_configuration() -> ValidationConfiguration

Gets the validation configuration for this component.

The validation configuration compromises the two main requirements for validating a component: how to configure the component in a topology, and what external resources, if any, it depends on.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§