Enum winsafe::TokenInfo

source ·
pub enum TokenInfo<'a, 'b, 'c, 'd, 'e, 'f> {
Show 32 variants User(Box<TOKEN_USER<'a>>), Groups(Box<TOKEN_GROUPS<'a>>), Privileges(Box<TOKEN_PRIVILEGES>), Owner(Box<TOKEN_OWNER<'a>>), PrimaryGroup(Box<TOKEN_PRIMARY_GROUP<'a>>), DefaultDacl(Box<TOKEN_DEFAULT_DACL<'a>>), Source(Box<TOKEN_SOURCE>), Type(Box<TOKEN_TYPE>), ImpersonationLevel(Box<SECURITY_IMPERSONATION>), Statistics(Box<TOKEN_STATISTICS>), RestrictedSids(Box<TOKEN_GROUPS<'a>>), SessionId(Box<u32>), GroupsAndPrivileges(Box<TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>>), SandBoxInert(Box<u32>), Origin(Box<TOKEN_ORIGIN>), ElevationType(Box<TOKEN_ELEVATION_TYPE>), LinkedToken(Box<TOKEN_LINKED_TOKEN>), Elevation(Box<TOKEN_ELEVATION>), HasRestrictions(Box<u32>), AccessInformation(Box<TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>>), VirtualizationAllowed(Box<u32>), VirtualizationEnabled(Box<u32>), IntegrityLevel(Box<TOKEN_MANDATORY_LABEL<'a>>), UIAccess(Box<u32>), MandatoryPolicy(Box<TOKEN_MANDATORY_POLICY>), LogonSid(Box<TOKEN_GROUPS<'a>>), IsAppContainer(Box<u32>), Capabilities(Box<TOKEN_GROUPS<'a>>), AppContainerNumber(Box<u32>), DeviceClaimAttributes(Box<CLAIM_SECURITY_ATTRIBUTES_INFORMATION<'a, 'b>>), DeviceGroups(Box<TOKEN_GROUPS<'a>>), RestrictedDeviceGroups(Box<TOKEN_GROUPS<'a>>),
}
Available on crate feature kernel only.
Expand description

Variant parameter for:

The enum values match those in co::TOKEN_INFORMATION_CLASS constant type.

Variants§

§

User(Box<TOKEN_USER<'a>>)

§

Groups(Box<TOKEN_GROUPS<'a>>)

§

Privileges(Box<TOKEN_PRIVILEGES>)

§

Owner(Box<TOKEN_OWNER<'a>>)

§

PrimaryGroup(Box<TOKEN_PRIMARY_GROUP<'a>>)

§

DefaultDacl(Box<TOKEN_DEFAULT_DACL<'a>>)

§

Source(Box<TOKEN_SOURCE>)

§

Type(Box<TOKEN_TYPE>)

§

ImpersonationLevel(Box<SECURITY_IMPERSONATION>)

§

Statistics(Box<TOKEN_STATISTICS>)

§

RestrictedSids(Box<TOKEN_GROUPS<'a>>)

§

SessionId(Box<u32>)

§

GroupsAndPrivileges(Box<TOKEN_GROUPS_AND_PRIVILEGES<'a, 'b, 'c>>)

§

SandBoxInert(Box<u32>)

§

Origin(Box<TOKEN_ORIGIN>)

§

ElevationType(Box<TOKEN_ELEVATION_TYPE>)

§

LinkedToken(Box<TOKEN_LINKED_TOKEN>)

§

Elevation(Box<TOKEN_ELEVATION>)

§

HasRestrictions(Box<u32>)

§

AccessInformation(Box<TOKEN_ACCESS_INFORMATION<'a, 'b, 'c, 'd, 'e, 'f>>)

§

VirtualizationAllowed(Box<u32>)

§

VirtualizationEnabled(Box<u32>)

§

IntegrityLevel(Box<TOKEN_MANDATORY_LABEL<'a>>)

§

UIAccess(Box<u32>)

§

MandatoryPolicy(Box<TOKEN_MANDATORY_POLICY>)

§

LogonSid(Box<TOKEN_GROUPS<'a>>)

§

IsAppContainer(Box<u32>)

§

Capabilities(Box<TOKEN_GROUPS<'a>>)

§

AppContainerNumber(Box<u32>)

§

DeviceClaimAttributes(Box<CLAIM_SECURITY_ATTRIBUTES_INFORMATION<'a, 'b>>)

§

DeviceGroups(Box<TOKEN_GROUPS<'a>>)

§

RestrictedDeviceGroups(Box<TOKEN_GROUPS<'a>>)

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Freeze for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> RefUnwindSafe for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !Send for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !Sync for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> Unpin for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

§

impl<'a, 'b, 'c, 'd, 'e, 'f> !UnwindSafe for TokenInfo<'a, 'b, 'c, 'd, 'e, 'f>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.