pub trait Context {
type Client: Client;
// Required method
fn enter_subsegment<N>(
&self,
namespace: N
) -> SubsegmentSession<Self::Client, N>
where N: Namespace + Send + Sync;
}
Expand description
Context.
Required Associated Types§
Required Methods§
sourcefn enter_subsegment<N>(
&self,
namespace: N
) -> SubsegmentSession<Self::Client, N>
fn enter_subsegment<N>( &self, namespace: N ) -> SubsegmentSession<Self::Client, N>
Enters in a new subsegment.
SubsegmentSession
records the end of the subsegment when it is
dropped.
Object Safety§
This trait is not object safe.