Struct timely::logging::ParkEventContainer
source · pub struct ParkEventContainer<C0, C1, CVar = Vec<u8>, COff = Vec<u64>> {
pub Park: C0,
pub Unpark: C1,
pub variant: CVar,
pub offset: COff,
}
Expand description
Derived columnar container for an enum.
Fields§
§Park: C0
Container for #names.
Unpark: C1
Container for #names.
variant: CVar
Container for variant.
offset: COff
Container for offset.
Trait Implementations§
source§impl<'a, C0, C1, CVar, COff> AsBytes<'a> for ParkEventContainer<C0, C1, CVar, COff>
impl<'a, C0, C1, CVar, COff> AsBytes<'a> for ParkEventContainer<C0, C1, CVar, COff>
source§impl<C0, C1> Clear for ParkEventContainer<C0, C1>
impl<C0, C1> Clear for ParkEventContainer<C0, C1>
source§impl<C0: Clone, C1: Clone, CVar: Clone, COff: Clone> Clone for ParkEventContainer<C0, C1, CVar, COff>
impl<C0: Clone, C1: Clone, CVar: Clone, COff: Clone> Clone for ParkEventContainer<C0, C1, CVar, COff>
source§fn clone(&self) -> ParkEventContainer<C0, C1, CVar, COff>
fn clone(&self) -> ParkEventContainer<C0, C1, CVar, COff>
Returns a copy 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 Container<ParkEvent> for ParkEventContainer<<Option<Duration> as Columnar>::Container, <() as Columnar>::Container>
impl Container<ParkEvent> for ParkEventContainer<<Option<Duration> as Columnar>::Container, <() as Columnar>::Container>
source§impl<C0: Debug, C1: Debug, CVar: Debug, COff: Debug> Debug for ParkEventContainer<C0, C1, CVar, COff>
impl<C0: Debug, C1: Debug, CVar: Debug, COff: Debug> Debug for ParkEventContainer<C0, C1, CVar, COff>
source§impl<C0: Default, C1: Default, CVar: Default, COff: Default> Default for ParkEventContainer<C0, C1, CVar, COff>
impl<C0: Default, C1: Default, CVar: Default, COff: Default> Default for ParkEventContainer<C0, C1, CVar, COff>
source§fn default() -> ParkEventContainer<C0, C1, CVar, COff>
fn default() -> ParkEventContainer<C0, C1, CVar, COff>
Returns the “default value” for a type. Read more
source§impl<'de, C0, C1, CVar, COff> Deserialize<'de> for ParkEventContainer<C0, C1, CVar, COff>
impl<'de, C0, C1, CVar, COff> Deserialize<'de> for ParkEventContainer<C0, C1, CVar, COff>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'columnar, C0, C1, CVar, COff> FromBytes<'columnar> for ParkEventContainer<C0, C1, CVar, COff>
impl<'columnar, C0, C1, CVar, COff> FromBytes<'columnar> for ParkEventContainer<C0, C1, CVar, COff>
source§impl<'columnar, C0, C1, CVal, COff> Index for &'columnar ParkEventContainer<C0, C1, CVal, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
CVal: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
impl<'columnar, C0, C1, CVal, COff> Index for &'columnar ParkEventContainer<C0, C1, CVal, COff>where
&'columnar C0: Index,
&'columnar C1: Index,
CVal: Len + IndexAs<u8>,
COff: Len + IndexAs<u64>,
§type Ref = ParkEventReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref>
type Ref = ParkEventReference<<&'columnar C0 as Index>::Ref, <&'columnar C1 as Index>::Ref>
The type returned by the
get
method. Read morefn get(&self, index: usize) -> Self::Ref
fn last(&self) -> Option<Self::Ref>where
Self: Len,
fn iter(&self) -> IterOwn<&Self>
fn into_iter(self) -> IterOwn<Self>where
Self: Sized,
source§impl<C0, C1, CVal, COff> Index for ParkEventContainer<C0, C1, CVal, COff>
impl<C0, C1, CVal, COff> Index for ParkEventContainer<C0, C1, CVal, COff>
§type Ref = ParkEventReference<<C0 as Index>::Ref, <C1 as Index>::Ref>
type Ref = ParkEventReference<<C0 as Index>::Ref, <C1 as Index>::Ref>
The type returned by the
get
method. Read morefn get(&self, index: usize) -> Self::Ref
fn last(&self) -> Option<Self::Ref>where
Self: Len,
fn iter(&self) -> IterOwn<&Self>
fn into_iter(self) -> IterOwn<Self>where
Self: Sized,
source§impl<C0, C1, CVar, COff> Len for ParkEventContainer<C0, C1, CVar, COff>where
CVar: Len,
impl<C0, C1, CVar, COff> Len for ParkEventContainer<C0, C1, CVar, COff>where
CVar: Len,
source§impl<'columnar, C0, C1> Push<&'columnar ParkEvent> for ParkEventContainer<C0, C1>
impl<'columnar, C0, C1> Push<&'columnar ParkEvent> for ParkEventContainer<C0, C1>
source§impl<C0, C1> Push<ParkEvent> for ParkEventContainer<C0, C1>
impl<C0, C1> Push<ParkEvent> for ParkEventContainer<C0, C1>
source§impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
impl<C0, C1, R0, R1> Push<ParkEventReference<R0, R1>> for ParkEventContainer<C0, C1>
source§fn push(&mut self, item: ParkEventReference<R0, R1>)
fn push(&mut self, item: ParkEventReference<R0, R1>)
Pushes an item onto
self
.source§fn extend(&mut self, iter: impl IntoIterator<Item = T>)
fn extend(&mut self, iter: impl IntoIterator<Item = T>)
Pushes elements of an iterator onto
self
.source§impl<C0, C1, CVar, COff> Serialize for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Serialize for ParkEventContainer<C0, C1, CVar, COff>
impl<C0: Copy, C1: Copy, CVar: Copy, COff: Copy> Copy for ParkEventContainer<C0, C1, CVar, COff>
Auto Trait Implementations§
impl<C0, C1, CVar, COff> Freeze for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> RefUnwindSafe for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Send for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Sync for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> Unpin for ParkEventContainer<C0, C1, CVar, COff>
impl<C0, C1, CVar, COff> UnwindSafe for ParkEventContainer<C0, C1, CVar, COff>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)