Trait AccessBuilder

Source
pub trait AccessBuilder {
    // Required method
    async fn generate_accessor(
        &mut self,
        payload: Vec<u8>,
        source_meta: &SourceMeta,
    ) -> ConnectorResult<AccessImpl<'_>>;
}
Expand description

Parses raw bytes into a specific format (avro, json, protobuf, …), and then builds an Access from the parsed data.

Required Methods§

Source

async fn generate_accessor( &mut self, payload: Vec<u8>, source_meta: &SourceMeta, ) -> ConnectorResult<AccessImpl<'_>>

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§