pub enum TraceMessage {
GetSession(WithChannels<GetSession, TraceProtocol>),
InitTrace(WithChannels<InitTrace, TraceProtocol>),
GetTrace(WithChannels<GetTrace, TraceProtocol>),
StartNode(WithChannels<StartNode, TraceProtocol>),
EndNode(WithChannels<EndNode, TraceProtocol>),
CloseTrace(WithChannels<CloseTrace, TraceProtocol>),
PutCheckpoint(WithChannels<PutCheckpoint, TraceProtocol>),
PutLogs(WithChannels<PutLogs, TraceProtocol>),
PutMetrics(WithChannels<PutMetrics, TraceProtocol>),
WaitCheckpoint(WithChannels<WaitCheckpoint, TraceProtocol>),
WaitStart(WithChannels<WaitStart, TraceProtocol>),
}
Expand description
Message enum for TraceProtocol
Variants§
GetSession(WithChannels<GetSession, TraceProtocol>)
InitTrace(WithChannels<InitTrace, TraceProtocol>)
GetTrace(WithChannels<GetTrace, TraceProtocol>)
StartNode(WithChannels<StartNode, TraceProtocol>)
EndNode(WithChannels<EndNode, TraceProtocol>)
CloseTrace(WithChannels<CloseTrace, TraceProtocol>)
PutCheckpoint(WithChannels<PutCheckpoint, TraceProtocol>)
PutLogs(WithChannels<PutLogs, TraceProtocol>)
PutMetrics(WithChannels<PutMetrics, TraceProtocol>)
WaitCheckpoint(WithChannels<WaitCheckpoint, TraceProtocol>)
WaitStart(WithChannels<WaitStart, TraceProtocol>)
Implementations§
Source§impl TraceMessage
impl TraceMessage
Sourcepub fn parent_span(&self) -> Span
pub fn parent_span(&self) -> Span
Get the parent span of the message
Trait Implementations§
Source§impl Debug for TraceMessage
impl Debug for TraceMessage
Source§impl From<WithChannels<CloseTrace, TraceProtocol>> for TraceMessage
impl From<WithChannels<CloseTrace, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<CloseTrace, TraceProtocol>) -> Self
fn from(value: WithChannels<CloseTrace, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<EndNode, TraceProtocol>> for TraceMessage
impl From<WithChannels<EndNode, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<EndNode, TraceProtocol>) -> Self
fn from(value: WithChannels<EndNode, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetSession, TraceProtocol>> for TraceMessage
impl From<WithChannels<GetSession, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<GetSession, TraceProtocol>) -> Self
fn from(value: WithChannels<GetSession, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<GetTrace, TraceProtocol>> for TraceMessage
impl From<WithChannels<GetTrace, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<GetTrace, TraceProtocol>) -> Self
fn from(value: WithChannels<GetTrace, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<InitTrace, TraceProtocol>> for TraceMessage
impl From<WithChannels<InitTrace, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<InitTrace, TraceProtocol>) -> Self
fn from(value: WithChannels<InitTrace, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<PutCheckpoint, TraceProtocol>> for TraceMessage
impl From<WithChannels<PutCheckpoint, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<PutCheckpoint, TraceProtocol>) -> Self
fn from(value: WithChannels<PutCheckpoint, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<PutLogs, TraceProtocol>> for TraceMessage
impl From<WithChannels<PutLogs, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<PutLogs, TraceProtocol>) -> Self
fn from(value: WithChannels<PutLogs, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<PutMetrics, TraceProtocol>> for TraceMessage
impl From<WithChannels<PutMetrics, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<PutMetrics, TraceProtocol>) -> Self
fn from(value: WithChannels<PutMetrics, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<StartNode, TraceProtocol>> for TraceMessage
impl From<WithChannels<StartNode, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<StartNode, TraceProtocol>) -> Self
fn from(value: WithChannels<StartNode, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<WaitCheckpoint, TraceProtocol>> for TraceMessage
impl From<WithChannels<WaitCheckpoint, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<WaitCheckpoint, TraceProtocol>) -> Self
fn from(value: WithChannels<WaitCheckpoint, TraceProtocol>) -> Self
Converts to this type from the input type.
Source§impl From<WithChannels<WaitStart, TraceProtocol>> for TraceMessage
impl From<WithChannels<WaitStart, TraceProtocol>> for TraceMessage
Source§fn from(value: WithChannels<WaitStart, TraceProtocol>) -> Self
fn from(value: WithChannels<WaitStart, TraceProtocol>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TraceMessage
impl !RefUnwindSafe for TraceMessage
impl Send for TraceMessage
impl Sync for TraceMessage
impl Unpin for TraceMessage
impl !UnwindSafe for TraceMessage
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