pub enum RawArgValue<'a> {
Null,
Boolean(bool),
Signed32(i32),
Unsigned32(u32),
Signed64(i64),
Unsigned64(u64),
Double(f64),
String(StringRef<'a>),
Pointer(u64),
KernelObj(u64),
Unknown {
raw_type: u8,
bytes: &'a [u8],
},
}
Variants§
Null
Boolean(bool)
Signed32(i32)
Unsigned32(u32)
Signed64(i64)
Unsigned64(u64)
Double(f64)
String(StringRef<'a>)
Pointer(u64)
KernelObj(u64)
Unknown
Trait Implementations§
Source§impl<'a> Clone for RawArgValue<'a>
impl<'a> Clone for RawArgValue<'a>
Source§fn clone(&self) -> RawArgValue<'a>
fn clone(&self) -> RawArgValue<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for RawArgValue<'a>
impl<'a> Debug for RawArgValue<'a>
Source§impl<'a> PartialEq for RawArgValue<'a>
impl<'a> PartialEq for RawArgValue<'a>
impl<'a> StructuralPartialEq for RawArgValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawArgValue<'a>
impl<'a> RefUnwindSafe for RawArgValue<'a>
impl<'a> Send for RawArgValue<'a>
impl<'a> Sync for RawArgValue<'a>
impl<'a> Unpin for RawArgValue<'a>
impl<'a> UnwindSafe for RawArgValue<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)