pub enum ArgValue<'a> {
Null,
Bool(bool),
Int32(i32),
Uint32(u32),
Int64(i64),
Uint64(u64),
Double(f64),
String(&'a str),
Pointer(usize),
Koid(u64),
}Expand description
The value of a trace argument.
Variants§
Null
Bool(bool)
Int32(i32)
Uint32(u32)
Int64(i64)
Uint64(u64)
Double(f64)
String(&'a str)
Pointer(usize)
Koid(u64)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ArgValue<'a>
impl<'a> RefUnwindSafe for ArgValue<'a>
impl<'a> Send for ArgValue<'a>
impl<'a> Sync for ArgValue<'a>
impl<'a> Unpin for ArgValue<'a>
impl<'a> UnsafeUnpin for ArgValue<'a>
impl<'a> UnwindSafe for ArgValue<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more§impl<T> ToMutPtr for Twhere
T: ?Sized,
impl<T> ToMutPtr for Twhere
T: ?Sized,
§fn to_mut_ptr(&self) -> *mut T
fn to_mut_ptr(&self) -> *mut T
Casts the reference to a mutable raw pointer.