pub struct SchemaCompatibility;
Implementations§
source§impl SchemaCompatibility
impl SchemaCompatibility
sourcepub fn can_read(writers_schema: &Schema, readers_schema: &Schema) -> bool
pub fn can_read(writers_schema: &Schema, readers_schema: &Schema) -> bool
can_read
performs a full, recursive check that a datum written using the
writers_schema can be read using the readers_schema.
sourcepub fn mutual_read(writers_schema: &Schema, readers_schema: &Schema) -> bool
pub fn mutual_read(writers_schema: &Schema, readers_schema: &Schema) -> bool
mutual_read
performs a full, recursive check that a datum written using either
the writers_schema or the readers_schema can be read using the other schema.
Auto Trait Implementations§
impl RefUnwindSafe for SchemaCompatibility
impl Send for SchemaCompatibility
impl Sync for SchemaCompatibility
impl Unpin for SchemaCompatibility
impl UnwindSafe for SchemaCompatibility
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