pub struct SERVICE(/* private fields */);
Available on crate feature
kernel
only.Expand description
Service access rights
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SERVICE
impl SERVICE
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 SERVICE
impl SERVICE
pub const ALL_ACCESS: Self = _
pub const CHANGE_CONFIG: Self = _
pub const ENUMERATE_DEPENDENTS: Self = _
pub const INTERROGATE: Self = _
pub const PAUSE_CONTINUE: Self = _
pub const QUERY_CONFIG: Self = _
pub const QUERY_STATUS: Self = _
pub const START: Self = _
pub const STOP: Self = _
pub const USER_DEFINED_CONTROL: Self = _
pub const ACCESS_SYSTEM_SECURITY: Self = _
pub const DELETE: Self = _
pub const READ_CONTROL: Self = _
pub const WRITE_DAC: Self = _
pub const WRITE_OWNER: Self = _
pub const GENERIC_READ: Self = _
pub const GENERIC_WRITE: Self = _
pub const GENERIC_EXECUTE: Self = _
Trait Implementations§
source§impl BitAndAssign for SERVICE
impl BitAndAssign for SERVICE
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for SERVICE
impl BitOrAssign for SERVICE
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for SERVICE
impl BitXorAssign for SERVICE
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for SERVICE
impl IntUnderlying for SERVICE
source§impl NativeBitflag for SERVICE
impl NativeBitflag for SERVICE
source§impl Ord for SERVICE
impl Ord for SERVICE
source§impl PartialEq for SERVICE
impl PartialEq for SERVICE
source§impl PartialOrd for SERVICE
impl PartialOrd for SERVICE
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 SERVICE
impl Eq for SERVICE
impl NativeConst for SERVICE
impl Send for SERVICE
impl StructuralPartialEq for SERVICE
Auto Trait Implementations§
impl Freeze for SERVICE
impl RefUnwindSafe for SERVICE
impl Sync for SERVICE
impl Unpin for SERVICE
impl UnwindSafe for SERVICE
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