pub struct TOKEN(/* private fields */);
Available on crate feature
kernel
only.Expand description
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl TOKEN
impl TOKEN
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 TOKEN
impl TOKEN
pub const DELETE: Self = _
pub const READ_CONTROL: Self = _
pub const WRITE_DAC: Self = _
pub const WRITE_OWNER: Self = _
pub const ASSIGN_PRIMARY: Self = _
pub const DUPLICATE: Self = _
pub const IMPERSONATE: Self = _
pub const QUERY: Self = _
pub const QUERY_SOURCE: Self = _
pub const ADJUST_PRIVILEGES: Self = _
pub const ADJUST_GROUPS: Self = _
pub const ADJUST_DEFAULT: Self = _
pub const ADJUST_SESSIONID: Self = _
pub const ALL_ACCESS_P: Self = _
pub const ALL_ACCESS: Self = _
pub const READ: Self = _
pub const WRITE: Self = _
pub const EXECUTE: Self = _
pub const TRUST_CONSTRAINT_MASK: Self = _
pub const ACCESS_PSEUDO_HANDLE: Self = _
Trait Implementations§
source§impl BitAndAssign for TOKEN
impl BitAndAssign for TOKEN
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for TOKEN
impl BitOrAssign for TOKEN
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for TOKEN
impl BitXorAssign for TOKEN
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for TOKEN
impl IntUnderlying for TOKEN
source§impl NativeBitflag for TOKEN
impl NativeBitflag for TOKEN
source§impl Ord for TOKEN
impl Ord for TOKEN
source§impl PartialEq for TOKEN
impl PartialEq for TOKEN
source§impl PartialOrd for TOKEN
impl PartialOrd for TOKEN
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 moreimpl Copy for TOKEN
impl Eq for TOKEN
impl NativeConst for TOKEN
impl Send for TOKEN
impl StructuralPartialEq for TOKEN
Auto Trait Implementations§
impl Freeze for TOKEN
impl RefUnwindSafe for TOKEN
impl Sync for TOKEN
impl Unpin for TOKEN
impl UnwindSafe for TOKEN
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