Struct winsafe::co::SE_PRIV_ATTR
source · pub struct SE_PRIV_ATTR(/* private fields */);
Available on crate feature
kernel
only.Expand description
Privilege attributes
(u32
).
Originally has SE_PRIVILEGE
prefix.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SE_PRIV_ATTR
impl SE_PRIV_ATTR
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 SE_PRIV_ATTR
impl SE_PRIV_ATTR
pub const ENABLED_BY_DEFAULT: Self = _
pub const ENABLED: Self = _
pub const REMOVED: Self = _
pub const USED_FOR_ACCESS: Self = _
pub const VALID_ATTRIBUTES: Self = _
Trait Implementations§
source§impl AsRef<u32> for SE_PRIV_ATTR
impl AsRef<u32> for SE_PRIV_ATTR
source§impl Binary for SE_PRIV_ATTR
impl Binary for SE_PRIV_ATTR
source§impl BitAnd for SE_PRIV_ATTR
impl BitAnd for SE_PRIV_ATTR
source§impl BitAndAssign for SE_PRIV_ATTR
impl BitAndAssign for SE_PRIV_ATTR
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for SE_PRIV_ATTR
impl BitOr for SE_PRIV_ATTR
source§impl BitOrAssign for SE_PRIV_ATTR
impl BitOrAssign for SE_PRIV_ATTR
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for SE_PRIV_ATTR
impl BitXor for SE_PRIV_ATTR
source§impl BitXorAssign for SE_PRIV_ATTR
impl BitXorAssign for SE_PRIV_ATTR
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SE_PRIV_ATTR
impl Clone for SE_PRIV_ATTR
source§fn clone(&self) -> SE_PRIV_ATTR
fn clone(&self) -> SE_PRIV_ATTR
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 SE_PRIV_ATTR
impl Debug for SE_PRIV_ATTR
source§impl Default for SE_PRIV_ATTR
impl Default for SE_PRIV_ATTR
source§fn default() -> SE_PRIV_ATTR
fn default() -> SE_PRIV_ATTR
Returns the “default value” for a type. Read more
source§impl Display for SE_PRIV_ATTR
impl Display for SE_PRIV_ATTR
source§impl From<SE_PRIV_ATTR> for u32
impl From<SE_PRIV_ATTR> for u32
source§fn from(v: SE_PRIV_ATTR) -> Self
fn from(v: SE_PRIV_ATTR) -> Self
Converts to this type from the input type.
source§impl Hash for SE_PRIV_ATTR
impl Hash for SE_PRIV_ATTR
source§impl IntUnderlying for SE_PRIV_ATTR
impl IntUnderlying for SE_PRIV_ATTR
source§impl LowerHex for SE_PRIV_ATTR
impl LowerHex for SE_PRIV_ATTR
source§impl NativeBitflag for SE_PRIV_ATTR
impl NativeBitflag for SE_PRIV_ATTR
source§impl Not for SE_PRIV_ATTR
impl Not for SE_PRIV_ATTR
source§impl Octal for SE_PRIV_ATTR
impl Octal for SE_PRIV_ATTR
source§impl Ord for SE_PRIV_ATTR
impl Ord for SE_PRIV_ATTR
source§impl PartialEq for SE_PRIV_ATTR
impl PartialEq for SE_PRIV_ATTR
source§fn eq(&self, other: &SE_PRIV_ATTR) -> bool
fn eq(&self, other: &SE_PRIV_ATTR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SE_PRIV_ATTR
impl PartialOrd for SE_PRIV_ATTR
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 SE_PRIV_ATTR
impl UpperHex for SE_PRIV_ATTR
impl Copy for SE_PRIV_ATTR
impl Eq for SE_PRIV_ATTR
impl NativeConst for SE_PRIV_ATTR
impl Send for SE_PRIV_ATTR
impl StructuralPartialEq for SE_PRIV_ATTR
Auto Trait Implementations§
impl Freeze for SE_PRIV_ATTR
impl RefUnwindSafe for SE_PRIV_ATTR
impl Sync for SE_PRIV_ATTR
impl Unpin for SE_PRIV_ATTR
impl UnwindSafe for SE_PRIV_ATTR
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