Struct winsafe::co::SE_PRIV

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

Privilege constants (&'static str).

Originally has SE prefix.

Implementations§

source§

impl SE_PRIV

source

pub const CREATE_TOKEN_NAME: Self = _

source

pub const ASSIGNPRIMARYTOKEN_NAME: Self = _

source

pub const LOCK_MEMORY_NAME: Self = _

source

pub const INCREASE_QUOTA_NAME: Self = _

source

pub const UNSOLICITED_INPUT_NAME: Self = _

source

pub const MACHINE_ACCOUNT_NAME: Self = _

source

pub const TCB_NAME: Self = _

source

pub const SECURITY_NAME: Self = _

source

pub const TAKE_OWNERSHIP_NAME: Self = _

source

pub const LOAD_DRIVER_NAME: Self = _

source

pub const SYSTEM_PROFILE_NAME: Self = _

source

pub const SYSTEMTIME_NAME: Self = _

source

pub const PROF_SINGLE_PROCESS_NAME: Self = _

source

pub const INC_BASE_PRIORITY_NAME: Self = _

source

pub const CREATE_PAGEFILE_NAME: Self = _

source

pub const CREATE_PERMANENT_NAME: Self = _

source

pub const BACKUP_NAME: Self = _

source

pub const RESTORE_NAME: Self = _

source

pub const SHUTDOWN_NAME: Self = _

source

pub const DEBUG_NAME: Self = _

source

pub const AUDIT_NAME: Self = _

source

pub const SYSTEM_ENVIRONMENT_NAME: Self = _

source

pub const CHANGE_NOTIFY_NAME: Self = _

source

pub const REMOTE_SHUTDOWN_NAME: Self = _

source

pub const UNDOCK_NAME: Self = _

source

pub const SYNC_AGENT_NAME: Self = _

source

pub const ENABLE_DELEGATION_NAME: Self = _

source

pub const MANAGE_VOLUME_NAME: Self = _

source

pub const IMPERSONATE_NAME: Self = _

source

pub const CREATE_GLOBAL_NAME: Self = _

source

pub const TRUSTED_CREDMAN_ACCESS_NAME: Self = _

source

pub const RELABEL_NAME: Self = _

source

pub const INC_WORKING_SET_NAME: Self = _

source

pub const TIME_ZONE_NAME: Self = _

source

pub const DELEGATE_SESSION_USER_IMPERSONATE_NAME: Self = _

Trait Implementations§

source§

impl Clone for SE_PRIV

source§

fn clone(&self) -> SE_PRIV

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 SE_PRIV

source§

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

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

impl Display for SE_PRIV

source§

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

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

impl From<SE_PRIV> for WString

source§

fn from(v: SE_PRIV) -> Self

Converts to this type from the input type.
source§

impl PartialEq for SE_PRIV

source§

fn eq(&self, other: &SE_PRIV) -> 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 TryFrom<&str> for SE_PRIV

§

type Error = ERROR

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

fn try_from(value: &str) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl Copy for SE_PRIV

source§

impl Eq for SE_PRIV

source§

impl NativeStrConst for SE_PRIV

source§

impl StructuralPartialEq for SE_PRIV

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.