risingwave_connector::schema::loader

Trait LoadedSchema

source
pub trait LoadedSchema: Sized {
    // Required method
    fn compile(
        primary: Subject,
        references: Vec<Subject>,
    ) -> Result<Self, SchemaFetchError>;
}

Required Methods§

source

fn compile( primary: Subject, references: Vec<Subject>, ) -> Result<Self, SchemaFetchError>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl LoadedSchema for FileDescriptor

source§

fn compile( primary: Subject, references: Vec<Subject>, ) -> Result<Self, SchemaFetchError>

source§

impl LoadedSchema for Schema

Implementors§