Enum ibc_relayer::chain::tracking::TrackingId
source · pub enum TrackingId {
Uuid(Uuid),
Static(&'static str),
ClearedUuid(Uuid),
}Expand description
Identifier used to track an EventBatch along
the relaying pipeline until the corresponding
transactions are submitted and/or confirmed.
Variants§
Uuid(Uuid)
Random identifier, used for tracking an event batch received over WebSocket.
Static(&'static str)
Static identifier, used as a placeholder for when there is no corresponding event batch, eg. when performing actions from the CLI or during packet clearing.
ClearedUuid(Uuid)
Random identifier used to track latency of packet clearing.
Implementations§
source§impl TrackingId
impl TrackingId
sourcepub fn new_uuid() -> Self
pub fn new_uuid() -> Self
See TrackingId::Uuid
sourcepub fn new_static(s: &'static str) -> Self
pub fn new_static(s: &'static str) -> Self
pub fn new_cleared_uuid() -> Self
Trait Implementations§
source§impl Clone for TrackingId
impl Clone for TrackingId
source§fn clone(&self) -> TrackingId
fn clone(&self) -> TrackingId
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 TrackingId
impl Debug for TrackingId
source§impl Display for TrackingId
impl Display for TrackingId
impl Copy for TrackingId
Auto Trait Implementations§
impl RefUnwindSafe for TrackingId
impl Send for TrackingId
impl Sync for TrackingId
impl Unpin for TrackingId
impl UnwindSafe for TrackingId
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
§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>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request