Struct DifferentialEventContainer

Source
pub struct DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar = Vec<u8>, COff = Vec<u64>> {
    pub Batch: C0,
    pub Merge: C1,
    pub Drop: C2,
    pub MergeShortfall: C3,
    pub TraceShare: C4,
    pub Batcher: C5,
    pub variant: CVar,
    pub offset: COff,
}
Expand description

Derived columnar container for an enum.

Fields§

§Batch: C0

Container for #names.

§Merge: C1

Container for #names.

§Drop: C2

Container for #names.

§MergeShortfall: C3

Container for #names.

§TraceShare: C4

Container for #names.

§Batcher: C5

Container for #names.

§variant: CVar

Container for variant.

§offset: COff

Container for offset.

Trait Implementations§

Source§

impl<'a, C0, C1, C2, C3, C4, C5, CVar, COff> AsBytes<'a> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: AsBytes<'a>, C1: AsBytes<'a>, C2: AsBytes<'a>, C3: AsBytes<'a>, C4: AsBytes<'a>, C5: AsBytes<'a>, CVar: AsBytes<'a>, COff: AsBytes<'a>,

Source§

fn as_bytes(&self) -> impl Iterator<Item = (u64, &'a [u8])>

Presents self as a sequence of byte slices, with their required alignment.
Source§

impl<C0, C1, C2, C3, C4, C5> Clear for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Clear, C1: Clear, C2: Clear, C3: Clear, C4: Clear, C5: Clear,

Source§

fn clear(&mut self)

Clears self, without changing its capacity.
Source§

impl<C0: Clone, C1: Clone, C2: Clone, C3: Clone, C4: Clone, C5: Clone, CVar: Clone, COff: Clone> Clone for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Source§

fn clone( &self, ) -> DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C0: Container, C1: Container, C2: Container, C3: Container, C4: Container, C5: Container> Container for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>

Source§

type Ref<'a> = DifferentialEventReference<<C0 as Container>::Ref<'a>, <C1 as Container>::Ref<'a>, <C2 as Container>::Ref<'a>, <C3 as Container>::Ref<'a>, <C4 as Container>::Ref<'a>, <C5 as Container>::Ref<'a>> where Self: 'a, C0: 'a, C1: 'a, C2: 'a, C3: 'a, C4: 'a, C5: 'a

For each lifetime, a reference with that lifetime. Read more
Source§

type Borrowed<'a> = DifferentialEventContainer<<C0 as Container>::Borrowed<'a>, <C1 as Container>::Borrowed<'a>, <C2 as Container>::Borrowed<'a>, <C3 as Container>::Borrowed<'a>, <C4 as Container>::Borrowed<'a>, <C5 as Container>::Borrowed<'a>, &'a [u8], &'a [u64]> where C0: 'a, C1: 'a, C2: 'a, C3: 'a, C4: 'a, C5: 'a

The type of a borrowed container. Read more
Source§

fn borrow<'a>(&'a self) -> Self::Borrowed<'a>

Converts a reference to the type to a borrowed variant.
Source§

fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>

Reborrows the borrowed type to a shorter lifetime. See Columnar::reborrow for details.
Source§

fn reborrow_ref<'b, 'a: 'b>(thing: Self::Ref<'a>) -> Self::Ref<'b>

Reborrows the borrowed type to a shorter lifetime. See Columnar::reborrow for details.
Source§

fn reserve_for<'a, I>(&mut self, selves: I)
where Self: 'a, I: Iterator<Item = Self::Borrowed<'a>> + Clone,

Source§

fn with_capacity_for<'a, I>(selves: I) -> Self
where Self: 'a, I: Iterator<Item = Self::Borrowed<'a>> + Clone,

Allocates an empty container that can be extended by selves without reallocation. Read more
Source§

fn extend_from_self(&mut self, other: Self::Borrowed<'_>, range: Range<usize>)

Extends self by a range in other. Read more
Source§

impl<C0: Debug, C1: Debug, C2: Debug, C3: Debug, C4: Debug, C5: Debug, CVar: Debug, COff: Debug> Debug for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<C0: Default, C1: Default, C2: Default, C3: Default, C4: Default, C5: Default, CVar: Default, COff: Default> Default for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Source§

fn default() -> DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Returns the “default value” for a type. Read more
Source§

impl<'columnar, C0, C1, C2, C3, C4, C5, CVar, COff> FromBytes<'columnar> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: FromBytes<'columnar>, C1: FromBytes<'columnar>, C2: FromBytes<'columnar>, C3: FromBytes<'columnar>, C4: FromBytes<'columnar>, C5: FromBytes<'columnar>, CVar: FromBytes<'columnar>, COff: FromBytes<'columnar>,

Source§

fn from_bytes(bytes: &mut impl Iterator<Item = &'columnar [u8]>) -> Self

Reconstructs self from a sequence of correctly aligned and sized bytes slices. Read more
Source§

impl<'columnar, C0, C1, C2, C3, C4, C5, CVal, COff> Index for &'columnar DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVal, COff>

Source§

type Ref = DifferentialEventReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref, <&'columnar C2 as Index>::Ref, <&'columnar C3 as Index>::Ref, <&'columnar C4 as Index>::Ref, <&'columnar C5 as Index>::Ref>

The type returned by the get method. Read more
Source§

fn get(&self, index: usize) -> Self::Ref

Source§

fn last(&self) -> Option<Self::Ref>
where Self: Len,

Source§

fn index_iter(&self) -> IterOwn<&Self>

Converts &self into an iterator. Read more
Source§

fn into_index_iter(self) -> IterOwn<Self>
where Self: Sized,

Converts self into an iterator. Read more
Source§

impl<C0, C1, C2, C3, C4, C5, CVal, COff> Index for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVal, COff>
where C0: Index, C1: Index, C2: Index, C3: Index, C4: Index, C5: Index, CVal: Len + IndexAs<u8>, COff: Len + IndexAs<u64>,

Source§

type Ref = DifferentialEventReference<<C0 as Index>::Ref, <C1 as Index>::Ref, <C2 as Index>::Ref, <C3 as Index>::Ref, <C4 as Index>::Ref, <C5 as Index>::Ref>

The type returned by the get method. Read more
Source§

fn get(&self, index: usize) -> Self::Ref

Source§

fn last(&self) -> Option<Self::Ref>
where Self: Len,

Source§

fn index_iter(&self) -> IterOwn<&Self>

Converts &self into an iterator. Read more
Source§

fn into_index_iter(self) -> IterOwn<Self>
where Self: Sized,

Converts self into an iterator. Read more
Source§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> Len for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where CVar: Len,

Source§

fn len(&self) -> usize

The number of contained elements.
Source§

fn is_empty(&self) -> bool

Whether this contains no elements.
Source§

impl<'columnar, C0, C1, C2, C3, C4, C5> Push<&'columnar DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Len + Push<&'columnar BatchEvent>, C1: Len + Push<&'columnar MergeEvent>, C2: Len + Push<&'columnar DropEvent>, C3: Len + Push<&'columnar MergeShortfall>, C4: Len + Push<&'columnar TraceShare>, C5: Len + Push<&'columnar BatcherEvent>,

Source§

fn push(&mut self, item: &'columnar DifferentialEvent)

Pushes an item onto self.
Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
Source§

impl<C0, C1, C2, C3, C4, C5> Push<DifferentialEvent> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>

Source§

fn push(&mut self, item: DifferentialEvent)

Pushes an item onto self.
Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
Source§

impl<C0, C1, C2, C3, C4, C5, R0, R1, R2, R3, R4, R5> Push<DifferentialEventReference<R0, R1, R2, R3, R4, R5>> for DifferentialEventContainer<C0, C1, C2, C3, C4, C5>
where C0: Len + Push<R0>, C1: Len + Push<R1>, C2: Len + Push<R2>, C3: Len + Push<R3>, C4: Len + Push<R4>, C5: Len + Push<R5>,

Source§

fn push(&mut self, item: DifferentialEventReference<R0, R1, R2, R3, R4, R5>)

Pushes an item onto self.
Source§

fn extend(&mut self, iter: impl IntoIterator<Item = T>)

Pushes elements of an iterator onto self.
Source§

impl<C0: Copy, C1: Copy, C2: Copy, C3: Copy, C4: Copy, C5: Copy, CVar: Copy, COff: Copy> Copy for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

Auto Trait Implementations§

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> Freeze for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: Freeze, C1: Freeze, C2: Freeze, C3: Freeze, C4: Freeze, C5: Freeze, CVar: Freeze, COff: Freeze,

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> RefUnwindSafe for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> Send for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: Send, C1: Send, C2: Send, C3: Send, C4: Send, C5: Send, CVar: Send, COff: Send,

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> Sync for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: Sync, C1: Sync, C2: Sync, C3: Sync, C4: Sync, C5: Sync, CVar: Sync, COff: Sync,

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> Unpin for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: Unpin, C1: Unpin, C2: Unpin, C3: Unpin, C4: Unpin, C5: Unpin, CVar: Unpin, COff: Unpin,

§

impl<C0, C1, C2, C3, C4, C5, CVar, COff> UnwindSafe for DifferentialEventContainer<C0, C1, C2, C3, C4, C5, CVar, COff>
where C0: UnwindSafe, C1: UnwindSafe, C2: UnwindSafe, C3: UnwindSafe, C4: UnwindSafe, C5: UnwindSafe, CVar: UnwindSafe, COff: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> CopyAs<T> for T
where T: Copy,

Source§

fn copy_as(self) -> T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, S> IndexAs<S> for T
where T: Index, <T as Index>::Ref: CopyAs<S>,

Source§

fn index_as(&self, index: usize) -> S

Source§

fn last(&self) -> Option<T>
where Self: Len,

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<'a, S, T> Semigroup<&'a S> for T
where T: Semigroup<S>,

Source§

fn plus_equals(&mut self, rhs: &&'a S)

The method of std::ops::AddAssign, for types that do not implement AddAssign.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> Data for T
where T: Clone + 'static,