struct DurationEncoder<'a, P: ArrowPrimitiveType + IntervalToDurationParts>(&'a PrimitiveArray<P>);
Expand description
Single generic encoder used for all three interval units.
Writes Avro fixed(12)
as three little-endian u32 values in one call.
Tuple Fields§
§0: &'a PrimitiveArray<P>
Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for DurationEncoder<'a, P>
impl<'a, P> RefUnwindSafe for DurationEncoder<'a, P>where
<P as ArrowPrimitiveType>::Native: RefUnwindSafe,
impl<'a, P> Send for DurationEncoder<'a, P>
impl<'a, P> Sync for DurationEncoder<'a, P>
impl<'a, P> Unpin for DurationEncoder<'a, P>
impl<'a, P> UnwindSafe for DurationEncoder<'a, P>where
<P as ArrowPrimitiveType>::Native: RefUnwindSafe,
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