pub struct TOKEN(/* private fields */);
Available on crate feature
kernel
only.Expand description
This is a bitflag constant.
Implementations§
Source§impl TOKEN
impl TOKEN
Sourcepub const unsafe fn as_mut(&mut self) -> &mut u32
pub const unsafe fn as_mut(&mut self) -> &mut u32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 Ord for TOKEN
impl Ord for TOKEN
Source§impl PartialOrd for TOKEN
impl PartialOrd for TOKEN
impl Copy for TOKEN
impl Eq for TOKEN
impl StructuralPartialEq for TOKEN
Auto Trait Implementations§
impl Freeze for TOKEN
impl RefUnwindSafe for TOKEN
impl Send 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