enum NullablePlan {
ReadTag,
FromSingle {
promotion: Promotion,
},
}
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 promotion.
Trait Implementations§
Source§impl Clone for NullablePlan
impl Clone for NullablePlan
Source§fn clone(&self) -> NullablePlan
fn clone(&self) -> NullablePlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NullablePlan
impl Debug for NullablePlan
impl Copy for NullablePlan
Auto Trait Implementations§
impl Freeze for NullablePlan
impl RefUnwindSafe for NullablePlan
impl Send for NullablePlan
impl Sync for NullablePlan
impl Unpin 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