Struct interchange::avro::schema::SchemaCache [−][src]
Fields
cache: HashMap<i32, Result<Schema, AvroError>>
ccsr_client: Client
Implementations
Looks up the writer schema for ID. If the schema is literally identical to the reader schema, as determined by the reader schema fingerprint that this schema cache was initialized with, returns the schema directly. If not, performs schema resolution on the reader and writer and returns the result.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SchemaCache
impl Send for SchemaCache
impl Sync for SchemaCache
impl Unpin for SchemaCache
impl !UnwindSafe for SchemaCache
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more