pub struct IpcTraceContext { /* private fields */ }Expand description
W3C trace context carried from Auditaur’s frontend invoke wrapper.
Add this as an optional auditaur_trace_context argument on Tauri commands
that should continue frontend invoke traces in backend tracing spans.
Implementations§
Source§impl IpcTraceContext
impl IpcTraceContext
Sourcepub fn traceparent(&self) -> Option<&str>
pub fn traceparent(&self) -> Option<&str>
Returns the valid W3C traceparent value, if one was provided.
Trait Implementations§
Source§impl Clone for IpcTraceContext
impl Clone for IpcTraceContext
Source§fn clone(&self) -> IpcTraceContext
fn clone(&self) -> IpcTraceContext
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 IpcTraceContext
impl Debug for IpcTraceContext
Source§impl<'de> Deserialize<'de> for IpcTraceContext
impl<'de> Deserialize<'de> for IpcTraceContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IpcTraceContext
impl RefUnwindSafe for IpcTraceContext
impl Send for IpcTraceContext
impl Sync for IpcTraceContext
impl Unpin for IpcTraceContext
impl UnsafeUnpin for IpcTraceContext
impl UnwindSafe for IpcTraceContext
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