Struct winsafe::co::WELL_KNOWN_SID_TYPE

source ·
pub struct WELL_KNOWN_SID_TYPE(/* private fields */);
Available on crate feature kernel only.
Expand description

WELL_KNOWN_SID_TYPE enumeration (u32).

Implementations§

source§

impl WELL_KNOWN_SID_TYPE

source

pub const unsafe fn from_raw(v: u32) -> Self

Constructs a new object by wrapping the given integer value.

§Safety

Be sure the given value is meaningful for the actual type.

source

pub const fn raw(&self) -> u32

Returns the primitive integer underlying value.

This method is similar to Into, but it is const, therefore it can be used in const contexts.

source§

impl WELL_KNOWN_SID_TYPE

source

pub const Null: Self = _

source

pub const World: Self = _

source

pub const Local: Self = _

source

pub const CreatorOwner: Self = _

source

pub const CreatorGroup: Self = _

source

pub const CreatorOwnerServer: Self = _

source

pub const CreatorGroupServer: Self = _

source

pub const NtAuthority: Self = _

source

pub const Dialup: Self = _

source

pub const Network: Self = _

source

pub const Batch: Self = _

source

pub const Interactive: Self = _

source

pub const Service: Self = _

source

pub const Anonymous: Self = _

source

pub const Proxy: Self = _

source

pub const EnterpriseControllers: Self = _

source

pub const SelfSid: Self = _

source

pub const AuthenticatedUser: Self = _

source

pub const RestrictedCode: Self = _

source

pub const TerminalServer: Self = _

source

pub const RemoteLogonId: Self = _

source

pub const LogonIds: Self = _

source

pub const LocalSystem: Self = _

source

pub const LocalService: Self = _

source

pub const NetworkService: Self = _

source

pub const BuiltinDomain: Self = _

source

pub const BuiltinAdministrators: Self = _

source

pub const BuiltinUsers: Self = _

source

pub const BuiltinGuests: Self = _

source

pub const BuiltinPowerUsers: Self = _

source

pub const BuiltinAccountOperators: Self = _

source

pub const BuiltinSystemOperators: Self = _

source

pub const BuiltinPrintOperators: Self = _

source

pub const BuiltinBackupOperators: Self = _

source

pub const BuiltinReplicator: Self = _

source

pub const BuiltinPreWindows2000CompatibleAccess: Self = _

source

pub const BuiltinRemoteDesktopUsers: Self = _

source

pub const BuiltinNetworkConfigurationOperators: Self = _

source

pub const AccountAdministrator: Self = _

source

pub const AccountGuest: Self = _

source

pub const AccountKrbtgt: Self = _

source

pub const AccountDomainAdmins: Self = _

source

pub const AccountDomainUsers: Self = _

source

pub const AccountDomainGuests: Self = _

source

pub const AccountComputers: Self = _

source

pub const AccountControllers: Self = _

source

pub const AccountCertAdmins: Self = _

source

pub const AccountSchemaAdmins: Self = _

source

pub const AccountEnterpriseAdmins: Self = _

source

pub const AccountPolicyAdmins: Self = _

source

pub const AccountRasAndIasServers: Self = _

source

pub const NTLMAuthentication: Self = _

source

pub const DigestAuthentication: Self = _

source

pub const SChannelAuthentication: Self = _

source

pub const ThisOrganization: Self = _

source

pub const OtherOrganization: Self = _

source

pub const BuiltinIncomingForestTrustBuilders: Self = _

source

pub const BuiltinPerfMonitoringUsers: Self = _

source

pub const BuiltinPerfLoggingUsers: Self = _

source

pub const BuiltinAuthorizationAccess: Self = _

source

pub const BuiltinTerminalServerLicenseServers: Self = _

source

pub const BuiltinDCOMUsers: Self = _

source

pub const BuiltinIUsers: Self = _

source

pub const IUser: Self = _

source

pub const BuiltinCryptoOperators: Self = _

source

pub const UntrustedLabel: Self = _

source

pub const LowLabel: Self = _

source

pub const MediumLabel: Self = _

source

pub const HighLabel: Self = _

source

pub const SystemLabel: Self = _

source

pub const WriteRestrictedCode: Self = _

source

pub const CreatorOwnerRights: Self = _

source

pub const CacheablePrincipalsGroup: Self = _

source

pub const NonCacheablePrincipalsGroup: Self = _

source

pub const EnterpriseReadonlyControllers: Self = _

source

pub const AccountReadonlyControllers: Self = _

source

pub const BuiltinEventLogReadersGroup: Self = _

source

pub const NewEnterpriseReadonlyControllers: Self = _

source

pub const BuiltinCertSvcDComAccessGroup: Self = _

source

pub const MediumPlusLabel: Self = _

source

pub const LocalLogon: Self = _

source

pub const ConsoleLogon: Self = _

source

pub const ThisOrganizationCertificate: Self = _

source

pub const ApplicationPackageAuthority: Self = _

source

pub const BuiltinAnyPackage: Self = _

source

pub const CapabilityInternetClient: Self = _

source

pub const CapabilityInternetClientServer: Self = _

source

pub const CapabilityPrivateNetworkClientServer: Self = _

source

pub const CapabilityPicturesLibrary: Self = _

source

pub const CapabilityVideosLibrary: Self = _

source

pub const CapabilityMusicLibrary: Self = _

source

pub const CapabilityDocumentsLibrary: Self = _

source

pub const CapabilitySharedUserCertificates: Self = _

source

pub const CapabilityEnterpriseAuthentication: Self = _

source

pub const CapabilityRemovableStorage: Self = _

source

pub const BuiltinRDSRemoteAccessServers: Self = _

source

pub const BuiltinRDSEndpointServers: Self = _

source

pub const BuiltinRDSManagementServers: Self = _

source

pub const UserModeDrivers: Self = _

source

pub const BuiltinHyperVAdmins: Self = _

source

pub const AccountCloneableControllers: Self = _

source

pub const BuiltinAccessControlAssistanceOperators: Self = _

source

pub const BuiltinRemoteManagementUsers: Self = _

source

pub const AuthenticationAuthorityAsserted: Self = _

source

pub const AuthenticationServiceAsserted: Self = _

source

pub const LocalAccount: Self = _

source

pub const LocalAccountAndAdministrator: Self = _

source

pub const AccountProtectedUsers: Self = _

source

pub const CapabilityAppointments: Self = _

source

pub const CapabilityContacts: Self = _

source

pub const AccountDefaultSystemManaged: Self = _

source

pub const BuiltinDefaultSystemManagedGroup: Self = _

source

pub const BuiltinStorageReplicaAdmins: Self = _

source

pub const AccountKeyAdmins: Self = _

source

pub const AccountEnterpriseKeyAdmins: Self = _

source

pub const AuthenticationKeyTrust: Self = _

source

pub const AuthenticationKeyPropertyMFA: Self = _

source

pub const AuthenticationKeyPropertyAttestation: Self = _

source

pub const AuthenticationFreshKeyAuth: Self = _

source

pub const BuiltinDeviceOwners: Self = _

Trait Implementations§

source§

impl AsRef<u32> for WELL_KNOWN_SID_TYPE

source§

fn as_ref(&self) -> &u32

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Binary for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Clone for WELL_KNOWN_SID_TYPE

source§

fn clone(&self) -> WELL_KNOWN_SID_TYPE

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for WELL_KNOWN_SID_TYPE

source§

fn default() -> WELL_KNOWN_SID_TYPE

Returns the “default value” for a type. Read more
source§

impl Display for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<WELL_KNOWN_SID_TYPE> for u32

source§

fn from(v: WELL_KNOWN_SID_TYPE) -> Self

Converts to this type from the input type.
source§

impl Hash for WELL_KNOWN_SID_TYPE

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntUnderlying for WELL_KNOWN_SID_TYPE

§

type Raw = u32

The underlying raw integer type.
source§

unsafe fn as_mut(&mut self) -> &mut Self::Raw

Returns a mutable reference to the underlying raw value. Read more
source§

impl LowerHex for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Octal for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Ord for WELL_KNOWN_SID_TYPE

source§

fn cmp(&self, other: &Self) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for WELL_KNOWN_SID_TYPE

source§

fn eq(&self, other: &WELL_KNOWN_SID_TYPE) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for WELL_KNOWN_SID_TYPE

source§

fn partial_cmp(&self, other: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl UpperHex for WELL_KNOWN_SID_TYPE

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.
source§

impl Copy for WELL_KNOWN_SID_TYPE

source§

impl Eq for WELL_KNOWN_SID_TYPE

source§

impl NativeConst for WELL_KNOWN_SID_TYPE

source§

impl Send for WELL_KNOWN_SID_TYPE

source§

impl StructuralPartialEq for WELL_KNOWN_SID_TYPE

Auto Trait Implementations§

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> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
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.