pub struct SimpleSchemaRegistry { /* private fields */ }Trait Implementations§
Source§impl Default for SimpleSchemaRegistry
impl Default for SimpleSchemaRegistry
Source§fn default() -> SimpleSchemaRegistry
fn default() -> SimpleSchemaRegistry
Returns the “default value” for a type. Read more
Source§impl SchemaRegistry for SimpleSchemaRegistry
impl SchemaRegistry for SimpleSchemaRegistry
fn register(&mut self, descriptor: SchemaDescriptor) -> Result<(), RtError>
fn get(&self, id: &SchemaId) -> Option<&SchemaDescriptor>
fn is_compatible( &self, id: &SchemaId, version: SchemaVersion, policy: CompatibilityPolicy, ) -> bool
Auto Trait Implementations§
impl Freeze for SimpleSchemaRegistry
impl RefUnwindSafe for SimpleSchemaRegistry
impl Send for SimpleSchemaRegistry
impl Sync for SimpleSchemaRegistry
impl Unpin for SimpleSchemaRegistry
impl UnsafeUnpin for SimpleSchemaRegistry
impl UnwindSafe for SimpleSchemaRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more