Enum wnf::DataScope

source ·
#[repr(u8)]
pub enum DataScope {
    System,
    Session,
    User,
    Process,
    Machine,
    PhysicalMachine,
}
Expand description

The data scope of a state

This property of a state controls whether it maintains multiple instances of its data that are scoped in different ways.

Variants§

§

System

System data scope

§

Session

Session data scope

§

User

User data scope

§

Process

Process data scope

§

Machine

Machine data scope

This seems to be the widest available data scope that all reverse engineering resources agree on. It is a good default choice if you don’t care about data scope.

§

PhysicalMachine

Physical Machine data scope

This is only mentioned by some reverse engineering resources, not all of them. However, there exist (well-known) state names with this data scope.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts an i64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an u64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an isize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an i8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an i16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an i32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Available on has_i128 only.
Converts an i128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts a usize to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an u8 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an u16 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts an u32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Available on has_i128 only.
Converts an u128 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned.
Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more