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 moresource§impl Default for TracingBuilder
impl Default for TracingBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TracingBuilder
impl Send for TracingBuilder
impl Sync for TracingBuilder
impl Unpin for TracingBuilder
impl UnwindSafe for TracingBuilder
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