[−][src]Trait tracers::runtime::ProbeArgWrapper
This trait, a companion to ProbeArgType
Associated Types
type CType: ProbeArgNativeType<Self::CType> + ProbeArgNativeTypeInfo
Required methods
fn as_c_type(&self) -> Self::CType
Convert the probe argument from it's Rust type to one compatible with the native tracing library infrastructure.
Provided methods
fn default_c_value() -> Self::CType
This is ugly but unavoidable. The underlying C type for an Opt
Implementations on Foreign Types
impl<'a> ProbeArgWrapper for &'a CString
[src]
impl<T> ProbeArgWrapper for Option<T> where
T: ProbeArgWrapper + Debug,
[src]
T: ProbeArgWrapper + Debug,