enum NullablePlan {
ReadTag {
nullability: Nullability,
resolution: ResolutionPlan,
},
FromSingle {
resolution: ResolutionPlan,
},
}Expand description
Runtime plan for decoding reader-side ["null", T] types.
Variants§
ReadTag
Writer actually wrote a union (branch tag present).
FromSingle
Writer wrote a single (non-union) value resolved to the non-null branch of the reader union; do NOT read a branch tag, but apply any resolution.
Fields
§
resolution: ResolutionPlanTrait Implementations§
Auto Trait Implementations§
impl Freeze for NullablePlan
impl RefUnwindSafe for NullablePlan
impl Send for NullablePlan
impl Sync for NullablePlan
impl Unpin for NullablePlan
impl UnsafeUnpin for NullablePlan
impl UnwindSafe for NullablePlan
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