Struct async_lsp::tracing::TracingBuilder
source · pub struct TracingBuilder { /* private fields */ }Implementations§
source§impl TracingBuilder
impl TracingBuilder
pub fn new() -> Self
pub fn service_ready(self, f: fn() -> Span) -> Self
pub fn request(self, f: fn(_: &AnyRequest) -> Span) -> Self
pub fn notification(self, f: fn(_: &AnyNotification) -> Span) -> Self
pub fn event(self, f: fn(_: &AnyEvent) -> Span) -> Self
pub fn build<S>(&self, service: S) -> Tracing<S>
Trait Implementations§
source§impl Clone for TracingBuilder
impl Clone for TracingBuilder
source§fn clone(&self) -> TracingBuilder
fn clone(&self) -> TracingBuilder
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