Struct winsafe::co::SECURITY_IMPERSONATION
source · pub struct SECURITY_IMPERSONATION(/* private fields */);
Available on crate feature
kernel
only.Expand description
SECURITY_IMPERSONATION_LEVEL
enumeration (u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SECURITY_IMPERSONATION
impl SECURITY_IMPERSONATION
sourcepub const unsafe fn from_raw(v: u32) -> Self
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.
sourcepub const fn raw(&self) -> u32
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 SECURITY_IMPERSONATION
impl SECURITY_IMPERSONATION
pub const Anonymous: Self = _
pub const Identification: Self = _
pub const Impersonation: Self = _
pub const Delegation: Self = _
Trait Implementations§
source§impl AsRef<u32> for SECURITY_IMPERSONATION
impl AsRef<u32> for SECURITY_IMPERSONATION
source§impl Binary for SECURITY_IMPERSONATION
impl Binary for SECURITY_IMPERSONATION
source§impl BitAnd for SECURITY_IMPERSONATION
impl BitAnd for SECURITY_IMPERSONATION
source§impl BitAndAssign for SECURITY_IMPERSONATION
impl BitAndAssign for SECURITY_IMPERSONATION
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for SECURITY_IMPERSONATION
impl BitOr for SECURITY_IMPERSONATION
source§impl BitOrAssign for SECURITY_IMPERSONATION
impl BitOrAssign for SECURITY_IMPERSONATION
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for SECURITY_IMPERSONATION
impl BitXor for SECURITY_IMPERSONATION
source§impl BitXorAssign for SECURITY_IMPERSONATION
impl BitXorAssign for SECURITY_IMPERSONATION
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SECURITY_IMPERSONATION
impl Clone for SECURITY_IMPERSONATION
source§fn clone(&self) -> SECURITY_IMPERSONATION
fn clone(&self) -> SECURITY_IMPERSONATION
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SECURITY_IMPERSONATION
impl Debug for SECURITY_IMPERSONATION
source§impl Default for SECURITY_IMPERSONATION
impl Default for SECURITY_IMPERSONATION
source§fn default() -> SECURITY_IMPERSONATION
fn default() -> SECURITY_IMPERSONATION
Returns the “default value” for a type. Read more
source§impl Display for SECURITY_IMPERSONATION
impl Display for SECURITY_IMPERSONATION
source§impl From<SECURITY_IMPERSONATION> for u32
impl From<SECURITY_IMPERSONATION> for u32
source§fn from(v: SECURITY_IMPERSONATION) -> Self
fn from(v: SECURITY_IMPERSONATION) -> Self
Converts to this type from the input type.
source§impl Hash for SECURITY_IMPERSONATION
impl Hash for SECURITY_IMPERSONATION
source§impl LowerHex for SECURITY_IMPERSONATION
impl LowerHex for SECURITY_IMPERSONATION
source§impl Not for SECURITY_IMPERSONATION
impl Not for SECURITY_IMPERSONATION
source§impl Octal for SECURITY_IMPERSONATION
impl Octal for SECURITY_IMPERSONATION
source§impl Ord for SECURITY_IMPERSONATION
impl Ord for SECURITY_IMPERSONATION
source§impl PartialEq for SECURITY_IMPERSONATION
impl PartialEq for SECURITY_IMPERSONATION
source§fn eq(&self, other: &SECURITY_IMPERSONATION) -> bool
fn eq(&self, other: &SECURITY_IMPERSONATION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SECURITY_IMPERSONATION
impl PartialOrd for SECURITY_IMPERSONATION
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl UpperHex for SECURITY_IMPERSONATION
impl UpperHex for SECURITY_IMPERSONATION
impl Copy for SECURITY_IMPERSONATION
impl Eq for SECURITY_IMPERSONATION
impl NativeConst for SECURITY_IMPERSONATION
impl Send for SECURITY_IMPERSONATION
impl StructuralPartialEq for SECURITY_IMPERSONATION
Auto Trait Implementations§
impl Freeze for SECURITY_IMPERSONATION
impl RefUnwindSafe for SECURITY_IMPERSONATION
impl Sync for SECURITY_IMPERSONATION
impl Unpin for SECURITY_IMPERSONATION
impl UnwindSafe for SECURITY_IMPERSONATION
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more