pub struct SERVICE(/* private fields */);
Available on crate feature
kernel
only.Expand description
Service access rights
flags
(u32
).
This is a bitflag constant.
Implementations§
Source§impl SERVICE
impl SERVICE
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 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 Ord for SERVICE
impl Ord for SERVICE
Source§impl PartialOrd for SERVICE
impl PartialOrd for SERVICE
impl Copy for SERVICE
impl Eq for SERVICE
impl StructuralPartialEq for SERVICE
Auto Trait Implementations§
impl Freeze for SERVICE
impl RefUnwindSafe for SERVICE
impl Send 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