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 Abomonation for ApplicationEvent
impl Abomonation for ApplicationEvent
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 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 PartialEq for ApplicationEvent
impl PartialEq for ApplicationEvent
source§fn eq(&self, other: &ApplicationEvent) -> bool
fn eq(&self, other: &ApplicationEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ApplicationEvent
impl PartialOrd for ApplicationEvent
source§fn partial_cmp(&self, other: &ApplicationEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &ApplicationEvent) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
impl<R, O, T> CopyOnto<ConsecutiveOffsetPairs<R, O>> for T
source§fn copy_onto(
self,
target: &mut ConsecutiveOffsetPairs<R, O>
) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
fn copy_onto( self, target: &mut ConsecutiveOffsetPairs<R, O> ) -> <ConsecutiveOffsetPairs<R, O> as Region>::Index
Copy self into the target container, returning an index that allows to
look up the corresponding read item.