Struct winsafe::co::SERVICE_CONTROL
source · pub struct SERVICE_CONTROL(/* private fields */);
Available on crate feature
kernel
only.Expand description
LPHANDLER_FUNCTION_EX
dwControl
(u32
).
Used within SvcCtl
parsing.
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl SERVICE_CONTROL
impl SERVICE_CONTROL
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_CONTROL
impl SERVICE_CONTROL
pub const CONTINUE: Self = _
pub const INTERROGATE: Self = _
pub const NETBINDADD: Self = _
pub const NETBINDDISABLE: Self = _
pub const NETBINDENABLE: Self = _
pub const NETBINDREMOVE: Self = _
pub const PARAMCHANGE: Self = _
pub const PAUSE: Self = _
pub const PRESHUTDOWN: Self = _
pub const SHUTDOWN: Self = _
pub const STOP: Self = _
pub const DEVICEEVENT: Self = _
pub const HARDWAREPROFILECHANGE: Self = _
pub const POWEREVENT: Self = _
pub const SESSIONCHANGE: Self = _
pub const TIMECHANGE: Self = _
pub const TRIGGEREVENT: Self = _
pub const USERMODEREBOOT: Self = _
Trait Implementations§
source§impl AsRef<u32> for SERVICE_CONTROL
impl AsRef<u32> for SERVICE_CONTROL
source§impl Binary for SERVICE_CONTROL
impl Binary for SERVICE_CONTROL
source§impl BitAnd for SERVICE_CONTROL
impl BitAnd for SERVICE_CONTROL
source§impl BitAndAssign for SERVICE_CONTROL
impl BitAndAssign for SERVICE_CONTROL
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for SERVICE_CONTROL
impl BitOr for SERVICE_CONTROL
source§impl BitOrAssign for SERVICE_CONTROL
impl BitOrAssign for SERVICE_CONTROL
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for SERVICE_CONTROL
impl BitXor for SERVICE_CONTROL
source§impl BitXorAssign for SERVICE_CONTROL
impl BitXorAssign for SERVICE_CONTROL
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for SERVICE_CONTROL
impl Clone for SERVICE_CONTROL
source§fn clone(&self) -> SERVICE_CONTROL
fn clone(&self) -> SERVICE_CONTROL
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 SERVICE_CONTROL
impl Debug for SERVICE_CONTROL
source§impl Default for SERVICE_CONTROL
impl Default for SERVICE_CONTROL
source§fn default() -> SERVICE_CONTROL
fn default() -> SERVICE_CONTROL
Returns the “default value” for a type. Read more
source§impl Display for SERVICE_CONTROL
impl Display for SERVICE_CONTROL
source§impl From<SERVICE_CONTROL> for u32
impl From<SERVICE_CONTROL> for u32
source§fn from(v: SERVICE_CONTROL) -> Self
fn from(v: SERVICE_CONTROL) -> Self
Converts to this type from the input type.
source§impl Hash for SERVICE_CONTROL
impl Hash for SERVICE_CONTROL
source§impl IntUnderlying for SERVICE_CONTROL
impl IntUnderlying for SERVICE_CONTROL
source§impl LowerHex for SERVICE_CONTROL
impl LowerHex for SERVICE_CONTROL
source§impl NativeBitflag for SERVICE_CONTROL
impl NativeBitflag for SERVICE_CONTROL
source§impl Not for SERVICE_CONTROL
impl Not for SERVICE_CONTROL
source§impl Octal for SERVICE_CONTROL
impl Octal for SERVICE_CONTROL
source§impl Ord for SERVICE_CONTROL
impl Ord for SERVICE_CONTROL
source§impl PartialEq for SERVICE_CONTROL
impl PartialEq for SERVICE_CONTROL
source§fn eq(&self, other: &SERVICE_CONTROL) -> bool
fn eq(&self, other: &SERVICE_CONTROL) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SERVICE_CONTROL
impl PartialOrd for SERVICE_CONTROL
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 moresource§impl UpperHex for SERVICE_CONTROL
impl UpperHex for SERVICE_CONTROL
impl Copy for SERVICE_CONTROL
impl Eq for SERVICE_CONTROL
impl NativeConst for SERVICE_CONTROL
impl Send for SERVICE_CONTROL
impl StructuralPartialEq for SERVICE_CONTROL
Auto Trait Implementations§
impl Freeze for SERVICE_CONTROL
impl RefUnwindSafe for SERVICE_CONTROL
impl Sync for SERVICE_CONTROL
impl Unpin for SERVICE_CONTROL
impl UnwindSafe for SERVICE_CONTROL
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