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>

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.

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§