enum ResolutionPlan {
Promotion(Promotion),
DefaultValue(AvroLiteral),
EnumMapping(EnumResolution),
Record(Projector),
}Expand description
Runtime plan for resolving writer-reader type differences.
Variants§
Promotion(Promotion)
Indicates that the writer’s type should be promoted to the reader’s type.
DefaultValue(AvroLiteral)
Provides a default value for the field missing in the writer type.
EnumMapping(EnumResolution)
Provides mapping information for resolving enums.
Record(Projector)
Provides projection information for record fields.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolutionPlan
impl RefUnwindSafe for ResolutionPlan
impl Send for ResolutionPlan
impl Sync for ResolutionPlan
impl Unpin for ResolutionPlan
impl UnsafeUnpin for ResolutionPlan
impl UnwindSafe for ResolutionPlan
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