Struct timely::logging::ApplicationEvent
source · pub struct ApplicationEvent {
pub id: usize,
pub is_start: bool,
}
Expand description
Application-defined code start or stop
Fields§
§id: usize
Unique event type identifier
is_start: bool
true
when activity begins, false
when it stops
Trait Implementations§
source§impl Clone for ApplicationEvent
impl Clone for ApplicationEvent
source§fn clone(&self) -> ApplicationEvent
fn clone(&self) -> ApplicationEvent
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 Columnar for ApplicationEvent
impl Columnar for ApplicationEvent
§type Ref<'a> = ApplicationEventReference<<usize as Columnar>::Ref<'a>, <bool as Columnar>::Ref<'a>>
where
usize: 'a,
bool: 'a
type Ref<'a> = ApplicationEventReference<<usize as Columnar>::Ref<'a>, <bool as Columnar>::Ref<'a>> where usize: 'a, bool: 'a
For each lifetime, a reference with that lifetime. Read more
source§fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
fn copy_from<'a>(&mut self, other: Self::Ref<'a>)
Repopulates
self
from a reference. Read moresource§fn into_owned<'a>(other: Self::Ref<'a>) -> Self
fn into_owned<'a>(other: Self::Ref<'a>) -> Self
Produce an instance of
Self
from Self::Ref<'a>
.§type Container = ApplicationEventContainer<<usize as Columnar>::Container, <bool as Columnar>::Container>
type Container = ApplicationEventContainer<<usize as Columnar>::Container, <bool as Columnar>::Container>
The type that stores the columnar representation. Read more
source§fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
fn as_columns<'a, I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = &'a Self>,
Self: 'a,
Converts a sequence of the references to the type into columnar form.
source§fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
fn into_columns<I>(selves: I) -> Self::Containerwhere
I: IntoIterator<Item = Self>,
Self: Sized,
Converts a sequence of the type into columnar form. Read more
source§impl Container<ApplicationEvent> for ApplicationEventContainer<<usize as Columnar>::Container, <bool as Columnar>::Container>
impl Container<ApplicationEvent> for ApplicationEventContainer<<usize as Columnar>::Container, <bool as Columnar>::Container>
source§impl Debug for ApplicationEvent
impl Debug for ApplicationEvent
source§impl<'de> Deserialize<'de> for ApplicationEvent
impl<'de> Deserialize<'de> for ApplicationEvent
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 From<ApplicationEvent> for TimelyEvent
impl From<ApplicationEvent> for TimelyEvent
source§fn from(v: ApplicationEvent) -> TimelyEvent
fn from(v: ApplicationEvent) -> TimelyEvent
Converts to this type from the input type.
source§impl Hash for ApplicationEvent
impl Hash for ApplicationEvent
source§impl Ord for ApplicationEvent
impl Ord for ApplicationEvent
source§fn cmp(&self, other: &ApplicationEvent) -> Ordering
fn cmp(&self, other: &ApplicationEvent) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<R0, R1> PartialEq<ApplicationEvent> for ApplicationEventReference<R0, R1>
impl<R0, R1> PartialEq<ApplicationEvent> for ApplicationEventReference<R0, R1>
source§impl PartialEq for ApplicationEvent
impl PartialEq for ApplicationEvent
source§impl PartialOrd for ApplicationEvent
impl PartialOrd for ApplicationEvent
source§impl<'columnar, C0, C1> Push<&'columnar ApplicationEvent> for ApplicationEventContainer<C0, C1>
impl<'columnar, C0, C1> Push<&'columnar ApplicationEvent> for ApplicationEventContainer<C0, C1>
source§fn push(&mut self, item: &'columnar ApplicationEvent)
fn push(&mut self, item: &'columnar ApplicationEvent)
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> Push<ApplicationEvent> for ApplicationEventContainer<C0, C1>
impl<C0, C1> Push<ApplicationEvent> for ApplicationEventContainer<C0, C1>
source§fn push(&mut self, item: ApplicationEvent)
fn push(&mut self, item: ApplicationEvent)
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 Serialize for ApplicationEvent
impl Serialize for ApplicationEvent
impl Eq for ApplicationEvent
impl StructuralPartialEq for ApplicationEvent
Auto Trait Implementations§
impl Freeze for ApplicationEvent
impl RefUnwindSafe for ApplicationEvent
impl Send for ApplicationEvent
impl Sync for ApplicationEvent
impl Unpin for ApplicationEvent
impl UnwindSafe for ApplicationEvent
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.