Type Alias vector::config::BoxedSink

source ·
pub type BoxedSink = Box<dyn SinkConfig>;

Aliased Type§

struct BoxedSink(/* private fields */);

Trait Implementations§

source§

impl Configurable for BoxedSink

source§

fn referenceable_name() -> Option<&'static str>

Gets the referenceable name of this value, if any. Read more
source§

fn metadata() -> Metadata

Gets the metadata for this value.
source§

fn generate_schema( gen: &RefCell<SchemaGenerator>, ) -> Result<SchemaObject, GenerateError>

Generates the schema for this value. Read more
source§

fn is_optional() -> bool
where Self: Sized,

Whether or not this value is optional. Read more
source§

fn validate_metadata(_metadata: &Metadata) -> Result<(), GenerateError>
where Self: Sized,

Validates the given metadata against this type. Read more
source§

fn as_configurable_ref() -> ConfigurableRef
where Self: Sized + 'static,

Create a new configurable reference table.
source§

impl<T: SinkConfig + 'static> From<T> for BoxedSink

source§

fn from(value: T) -> Self

Converts to this type from the input type.