pub struct TracingLogHandler;
Expand description
Default log handler that routes server logs to tracing
Trait Implementations§
Source§impl Debug for TracingLogHandler
impl Debug for TracingLogHandler
Source§impl LogHandler for TracingLogHandler
impl LogHandler for TracingLogHandler
Source§fn handle_log<'life0, 'async_trait>(
&'life0 self,
log: LogMessage,
) -> Pin<Box<dyn Future<Output = HandlerResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn handle_log<'life0, 'async_trait>(
&'life0 self,
log: LogMessage,
) -> Pin<Box<dyn Future<Output = HandlerResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Handle a log message from the server Read more
Auto Trait Implementations§
impl Freeze for TracingLogHandler
impl RefUnwindSafe for TracingLogHandler
impl Send for TracingLogHandler
impl Sync for TracingLogHandler
impl Unpin for TracingLogHandler
impl UnwindSafe for TracingLogHandler
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