[][src]Enum lxtrace::magic::ty::Value

pub enum Value {
    Integral(i64),
    Handle(u32Option<u64>),
    String(String),
    Buffer(Box<[u8]>),
    Flags(u64Vec<String>),
    Signal(i32Option<String>),
    Address(u64),
    Error(i32String),
    Unknown,
    // some variants omitted
}

Variants

Integral(i64)
Handle(u32Option<u64>)
String(String)
Buffer(Box<[u8]>)
Flags(u64Vec<String>)
Signal(i32Option<String>)
Address(u64)
Error(i32String)
Unknown

Methods

impl Value[src]

pub fn is_known(&self) -> bool[src]

pub fn is_scalar(&self) -> bool[src]

pub fn project<'a>(
    &'a self,
    path: impl Iterator<Item = impl AsRef<str>>
) -> Option<&'a Value>
[src]

Trait Implementations

impl Debug for Value[src]

impl Serialize for Value[src]

impl<'de> Deserialize<'de> for Value[src]

Auto Trait Implementations

impl Send for Value

impl Sync for Value

impl Unpin for Value

impl UnwindSafe for Value

impl RefUnwindSafe for Value

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]