pub struct DispatchTrace { /* private fields */ }Expand description
Append-only collector for DispatchTraceEvent values.
Clones share the same underlying buffer (Arc + Mutex), so a trace handed to the dispatcher and a trace inspected by the host see the same events.
Implementations§
Trait Implementations§
Source§impl Clone for DispatchTrace
impl Clone for DispatchTrace
Source§fn clone(&self) -> DispatchTrace
fn clone(&self) -> DispatchTrace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispatchTrace
impl Debug for DispatchTrace
Source§impl Default for DispatchTrace
impl Default for DispatchTrace
Source§fn default() -> DispatchTrace
fn default() -> DispatchTrace
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatchTrace
impl RefUnwindSafe for DispatchTrace
impl Send for DispatchTrace
impl Sync for DispatchTrace
impl Unpin for DispatchTrace
impl UnsafeUnpin for DispatchTrace
impl UnwindSafe for DispatchTrace
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