Struct EventTimestamped
pub struct EventTimestamped<E>where
E: Event,{
pub event: E,
pub logical_ts: u64,
pub ticks: u64,
}Fields§
§event: E§logical_ts: u64§ticks: u64Trait Implementations§
§impl<E> Clone for EventTimestamped<E>
impl<E> Clone for EventTimestamped<E>
§fn clone(&self) -> EventTimestamped<E>
fn clone(&self) -> EventTimestamped<E>
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 more§impl<E> Debug for EventTimestamped<E>
impl<E> Debug for EventTimestamped<E>
§impl<'de, E> Deserialize<'de> for EventTimestamped<E>
impl<'de, E> Deserialize<'de> for EventTimestamped<E>
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventTimestamped<E>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventTimestamped<E>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<E> Ord for EventTimestamped<E>where
E: Event,
impl<E> Ord for EventTimestamped<E>where
E: Event,
§fn cmp(&self, other: &EventTimestamped<E>) -> Ordering
fn cmp(&self, other: &EventTimestamped<E>) -> 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
§impl<E> PartialEq for EventTimestamped<E>
impl<E> PartialEq for EventTimestamped<E>
§impl<E> PartialOrd for EventTimestamped<E>where
E: Event,
impl<E> PartialOrd for EventTimestamped<E>where
E: Event,
§impl<E> Serialize for EventTimestamped<E>
impl<E> Serialize for EventTimestamped<E>
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<E> Eq for EventTimestamped<E>
impl<E> StructuralPartialEq for EventTimestamped<E>where
E: Event,
Auto Trait Implementations§
impl<E> Freeze for EventTimestamped<E>where
E: Freeze,
impl<E> RefUnwindSafe for EventTimestamped<E>where
E: RefUnwindSafe,
impl<E> Send for EventTimestamped<E>
impl<E> Sync for EventTimestamped<E>
impl<E> Unpin for EventTimestamped<E>where
E: Unpin,
impl<E> UnwindSafe for EventTimestamped<E>where
E: UnwindSafe,
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].