[][src]Struct win_etw_provider::GUID

#[repr(C)]pub struct GUID {
    pub data1: u32,
    pub data2: u16,
    pub data3: u16,
    pub data4: [u8; 8],
}

The Windows GUID type.

win_etw_provider defines this type, rather than directly referencing (or re-exporting) an equivalent type from other crates in order to minimize its dependencies. GUID has a well- defined byte representation, so converting between different implementations of GUID is not a problem.

Fields

data1: u32

Contains bytes 0-3 (inclusive) of the GUID, in big-endian form.

data2: u16

Contains bytes 4-5 (inclusive) of the GUID, in big-endian form.

data3: u16

Contains bytes 6-7 (inclusive) of the GUID, in big-endian form.

data4: [u8; 8]

Contains bytes 8-15 (inclusive) of the GUID.

Trait Implementations

impl AsBytes for GUID[src]

impl Clone for GUID[src]

impl Debug for GUID[src]

impl Default for GUID[src]

impl Display for GUID[src]

impl Eq for GUID[src]

impl<'a> From<&'a GUID> for EventDataDescriptor<'a>[src]

impl FromBytes for GUID[src]

impl Hash for GUID[src]

impl Ord for GUID[src]

impl PartialEq<GUID> for GUID[src]

impl PartialOrd<GUID> for GUID[src]

impl StructuralEq for GUID[src]

impl StructuralPartialEq for GUID[src]

Auto Trait Implementations

impl RefUnwindSafe for GUID

impl Send for GUID

impl Sync for GUID

impl Unpin for GUID

impl UnwindSafe for GUID

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.