pub struct SbeSchemaValidator<'a> { /* private fields */ }
Expand description
A validator for SBE schema versions.
Implementations§
Trait Implementations§
Source§impl<'a> SchemaValidator for SbeSchemaValidator<'a>
impl<'a> SchemaValidator for SbeSchemaValidator<'a>
Source§type SchemaType = Schema
type SchemaType = Schema
The type of the schema we will be working against
Source§fn latest(&self) -> &Self::SchemaType
fn latest(&self) -> &Self::SchemaType
Get the latest schema.
Source§fn current(&self) -> &Self::SchemaType
fn current(&self) -> &Self::SchemaType
Get the current schema.
Source§fn compare_version(&self) -> Result<CompatibilityLevel, EvolutionError>
fn compare_version(&self) -> Result<CompatibilityLevel, EvolutionError>
Compare the version of the current schema with the latest schema.
Source§fn compare_message_header(&self) -> Result<CompatibilityLevel, EvolutionError>
fn compare_message_header(&self) -> Result<CompatibilityLevel, EvolutionError>
Compare the message header of the current schema with the latest schema.
Source§fn compare_types(&self) -> Result<CompatibilityLevel, EvolutionError>
fn compare_types(&self) -> Result<CompatibilityLevel, EvolutionError>
Compare the types of the current schema with the latest schema.
Source§fn compare_messages(&self) -> Result<CompatibilityLevel, EvolutionError>
fn compare_messages(&self) -> Result<CompatibilityLevel, EvolutionError>
Compare the messages of the current schema with the latest schema.
Auto Trait Implementations§
impl<'a> Freeze for SbeSchemaValidator<'a>
impl<'a> RefUnwindSafe for SbeSchemaValidator<'a>
impl<'a> Send for SbeSchemaValidator<'a>
impl<'a> Sync for SbeSchemaValidator<'a>
impl<'a> Unpin for SbeSchemaValidator<'a>
impl<'a> UnwindSafe for SbeSchemaValidator<'a>
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