[−][src]Trait tracers_core::argtypes::ProbeArgWrapper
This trait, a companion to ProbeArgType
Associated Types
type 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 ProbeArgWrapper for bool
[src]
impl<'a> ProbeArgWrapper for &'a CStr
[src]
impl<'a> ProbeArgWrapper for &'a CString
[src]
impl ProbeArgWrapper for usize
[src]
impl ProbeArgWrapper for isize
[src]
impl ProbeArgWrapper for u64
[src]
type CType = c_ulonglong
fn as_c_type(&self) -> Self::CType
[src]
impl ProbeArgWrapper for i64
[src]
type CType = c_longlong
fn as_c_type(&self) -> Self::CType
[src]
impl ProbeArgWrapper for u32
[src]
impl ProbeArgWrapper for i32
[src]
impl ProbeArgWrapper for u16
[src]
impl ProbeArgWrapper for i16
[src]
impl ProbeArgWrapper for u8
[src]
impl ProbeArgWrapper for i8
[src]
impl<T> ProbeArgWrapper for Option<T> where
T: ProbeArgWrapper + Debug,
[src]
T: ProbeArgWrapper + Debug,