[][src]Enum evtx::binxml::value_variant::BinXmlValue

pub enum BinXmlValue<'a> {
    NullType,
    StringType(Cow<'a, str>),
    AnsiStringType(Cow<'a, str>),
    Int8Type(i8),
    UInt8Type(u8),
    Int16Type(i16),
    UInt16Type(u16),
    Int32Type(i32),
    UInt32Type(u32),
    Int64Type(i64),
    UInt64Type(u64),
    Real32Type(f32),
    Real64Type(f64),
    BoolType(bool),
    BinaryType(&'a [u8]),
    GuidType(Guid),
    SizeTType(usize),
    FileTimeType(DateTime<Utc>),
    SysTimeType(DateTime<Utc>),
    SidType(Sid),
    HexInt32Type(Cow<'a, str>),
    HexInt64Type(Cow<'a, str>),
    EvtHandle,
    BinXmlType(Vec<BinXMLDeserializedTokens<'a>>),
    EvtXml,
    StringArrayType(Vec<Cow<'a, str>>),
    AnsiStringArrayType,
    Int8ArrayType(Vec<i8>),
    UInt8ArrayType(Vec<u8>),
    Int16ArrayType(Vec<i16>),
    UInt16ArrayType(Vec<u16>),
    Int32ArrayType(Vec<i32>),
    UInt32ArrayType(Vec<u32>),
    Int64ArrayType(Vec<i64>),
    UInt64ArrayType(Vec<u64>),
    Real32ArrayType(Vec<f32>),
    Real64ArrayType(Vec<f64>),
    BoolArrayType(Vec<bool>),
    BinaryArrayType,
    GuidArrayType(Vec<Guid>),
    SizeTArrayType,
    FileTimeArrayType(Vec<DateTime<Utc>>),
    SysTimeArrayType(Vec<DateTime<Utc>>),
    SidArrayType(Vec<Sid>),
    HexInt32ArrayType(Vec<Cow<'a, str>>),
    HexInt64ArrayType(Vec<Cow<'a, str>>),
    EvtArrayHandle,
    BinXmlArrayType,
    EvtXmlArrayType,
}

Variants

NullTypeStringType(Cow<'a, str>)AnsiStringType(Cow<'a, str>)Int8Type(i8)UInt8Type(u8)Int16Type(i16)UInt16Type(u16)Int32Type(i32)UInt32Type(u32)Int64Type(i64)UInt64Type(u64)Real32Type(f32)Real64Type(f64)BoolType(bool)BinaryType(&'a [u8])GuidType(Guid)SizeTType(usize)FileTimeType(DateTime<Utc>)SysTimeType(DateTime<Utc>)SidType(Sid)HexInt32Type(Cow<'a, str>)HexInt64Type(Cow<'a, str>)EvtHandleBinXmlType(Vec<BinXMLDeserializedTokens<'a>>)EvtXmlStringArrayType(Vec<Cow<'a, str>>)AnsiStringArrayTypeInt8ArrayType(Vec<i8>)UInt8ArrayType(Vec<u8>)Int16ArrayType(Vec<i16>)UInt16ArrayType(Vec<u16>)Int32ArrayType(Vec<i32>)UInt32ArrayType(Vec<u32>)Int64ArrayType(Vec<i64>)UInt64ArrayType(Vec<u64>)Real32ArrayType(Vec<f32>)Real64ArrayType(Vec<f64>)BoolArrayType(Vec<bool>)BinaryArrayTypeGuidArrayType(Vec<Guid>)SizeTArrayTypeFileTimeArrayType(Vec<DateTime<Utc>>)SysTimeArrayType(Vec<DateTime<Utc>>)SidArrayType(Vec<Sid>)HexInt32ArrayType(Vec<Cow<'a, str>>)HexInt64ArrayType(Vec<Cow<'a, str>>)EvtArrayHandleBinXmlArrayTypeEvtXmlArrayType

Methods

impl<'a> BinXmlValue<'a>[src]

pub fn from_binxml_stream(
    cursor: &mut Cursor<&'a [u8]>,
    chunk: Option<&'a EvtxChunk<'a>>,
    size: Option<u16>,
    ansi_codec: EncodingRef
) -> Result<BinXmlValue<'a>>
[src]

pub fn deserialize_value_type(
    value_type: &BinXmlValueType,
    cursor: &mut Cursor<&'a [u8]>,
    chunk: Option<&'a EvtxChunk<'a>>,
    size: Option<u16>,
    ansi_codec: EncodingRef
) -> Result<BinXmlValue<'a>>
[src]

impl<'a> BinXmlValue<'a>[src]

pub fn as_cow_str(&self) -> Cow<str>[src]

Trait Implementations

impl<'a> PartialOrd<BinXmlValue<'a>> for BinXmlValue<'a>[src]

impl<'a> PartialEq<BinXmlValue<'a>> for BinXmlValue<'a>[src]

impl<'a> Clone for BinXmlValue<'a>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'c> Into<Value> for BinXmlValue<'c>[src]

impl<'c> Into<Value> for &'c BinXmlValue<'c>[src]

impl<'a> Debug for BinXmlValue<'a>[src]

Auto Trait Implementations

impl<'a> Send for BinXmlValue<'a>

impl<'a> Sync for BinXmlValue<'a>

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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 = Infallible

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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