Struct winsafe::co::SC_MANAGER
source · pub struct SC_MANAGER(/* private fields */);
Available on crate feature
kernel
only.Expand description
Service Control Manager access rights
flags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SC_MANAGER
impl SC_MANAGER
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 SC_MANAGER
impl SC_MANAGER
pub const ALL_ACCESS: Self = _
pub const CREATE_SERVICE: Self = _
pub const CONNECT: Self = _
pub const ENUMERATE_SERVICE: Self = _
pub const LOCK: Self = _
pub const MODIFY_BOOT_CONFIG: Self = _
pub const QUERY_LOCK_STATUS: Self = _
pub const GENERIC_READ: Self = _
pub const GENERIC_WRITE: Self = _
pub const GENERIC_EXECUTE: Self = _
pub const GENERIC_ALL: Self = _
Trait Implementations§
source§impl AsRef<u32> for SC_MANAGER
impl AsRef<u32> for SC_MANAGER
source§impl Binary for SC_MANAGER
impl Binary for SC_MANAGER
source§impl BitAnd for SC_MANAGER
impl BitAnd for SC_MANAGER
source§impl BitAndAssign for SC_MANAGER
impl BitAndAssign for SC_MANAGER
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for SC_MANAGER
impl BitOr for SC_MANAGER
source§impl BitOrAssign for SC_MANAGER
impl BitOrAssign for SC_MANAGER
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for SC_MANAGER
impl BitXor for SC_MANAGER
source§impl BitXorAssign for SC_MANAGER
impl BitXorAssign for SC_MANAGER
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SC_MANAGER
impl Clone for SC_MANAGER
source§fn clone(&self) -> SC_MANAGER
fn clone(&self) -> SC_MANAGER
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 SC_MANAGER
impl Debug for SC_MANAGER
source§impl Default for SC_MANAGER
impl Default for SC_MANAGER
source§fn default() -> SC_MANAGER
fn default() -> SC_MANAGER
Returns the “default value” for a type. Read more
source§impl Display for SC_MANAGER
impl Display for SC_MANAGER
source§impl From<SC_MANAGER> for u32
impl From<SC_MANAGER> for u32
source§fn from(v: SC_MANAGER) -> Self
fn from(v: SC_MANAGER) -> Self
Converts to this type from the input type.
source§impl Hash for SC_MANAGER
impl Hash for SC_MANAGER
source§impl IntUnderlying for SC_MANAGER
impl IntUnderlying for SC_MANAGER
source§impl LowerHex for SC_MANAGER
impl LowerHex for SC_MANAGER
source§impl NativeBitflag for SC_MANAGER
impl NativeBitflag for SC_MANAGER
source§impl Not for SC_MANAGER
impl Not for SC_MANAGER
source§impl Octal for SC_MANAGER
impl Octal for SC_MANAGER
source§impl PartialEq for SC_MANAGER
impl PartialEq for SC_MANAGER
source§fn eq(&self, other: &SC_MANAGER) -> bool
fn eq(&self, other: &SC_MANAGER) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl UpperHex for SC_MANAGER
impl UpperHex for SC_MANAGER
impl Copy for SC_MANAGER
impl Eq for SC_MANAGER
impl NativeConst for SC_MANAGER
impl Send for SC_MANAGER
impl StructuralPartialEq for SC_MANAGER
Auto Trait Implementations§
impl RefUnwindSafe for SC_MANAGER
impl Sync for SC_MANAGER
impl Unpin for SC_MANAGER
impl UnwindSafe for SC_MANAGER
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