pub struct LogTracer;Trait Implementations§
Source§impl Tracer for LogTracer
impl Tracer for LogTracer
fn on_spawn(&mut self, id: TaskId, name: &str)
fn on_wake(&mut self, from: TaskId, to: TaskId)
fn on_subscribe_finish(&mut self, waiter: TaskId, target: TaskId)
fn on_poll_seq(&mut self, seq: u64, id: TaskId, name: &str)
fn on_finish(&mut self, id: TaskId, name: &str, state: TaskState)
fn on_defer_spawn(&mut self, parent: TaskId, child: &str)
fn on_sleep_until(&mut self, task: TaskId, micros: u128)
fn on_timers_fired(&mut self, count: usize)
fn on_cancel_request( &mut self, _task: TaskId, _reason: CancelReason, _tick_budget: Option<u64>, _time_budget: Option<Duration>, )
fn on_cancel_hard_stop(&mut self, _task: TaskId, _reason: CancelReason)
fn on_poll_begin(&mut self, _id: TaskId, _name: &str)
fn on_poll_end(&mut self, _id: TaskId, _name: &str)
fn on_io_wait_readable(&mut self, _task: TaskId, _token: usize)
fn on_io_notify_readable(&mut self, _token: usize, _woken: &[TaskId])
Auto Trait Implementations§
impl Freeze for LogTracer
impl RefUnwindSafe for LogTracer
impl Send for LogTracer
impl Sync for LogTracer
impl Unpin for LogTracer
impl UnwindSafe for LogTracer
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