Struct winsafe::co::SERVICE_START
source · pub struct SERVICE_START(/* private fields */);
Available on crate feature
kernel
only.Expand description
HSC::CreateService
start_type
(u32
).
Originally has SERVICE
prefix.
Implementations§
source§impl SERVICE_START
impl SERVICE_START
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_START
impl SERVICE_START
pub const AUTO_START: Self = _
pub const BOOT_START: Self = _
pub const DEMAND_START: Self = _
pub const DISABLED: Self = _
pub const SYSTEM_START: Self = _
Trait Implementations§
source§impl AsRef<u32> for SERVICE_START
impl AsRef<u32> for SERVICE_START
source§impl Binary for SERVICE_START
impl Binary for SERVICE_START
source§impl Clone for SERVICE_START
impl Clone for SERVICE_START
source§fn clone(&self) -> SERVICE_START
fn clone(&self) -> SERVICE_START
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_START
impl Debug for SERVICE_START
source§impl Default for SERVICE_START
impl Default for SERVICE_START
source§fn default() -> SERVICE_START
fn default() -> SERVICE_START
Returns the “default value” for a type. Read more
source§impl Display for SERVICE_START
impl Display for SERVICE_START
source§impl From<SERVICE_START> for u32
impl From<SERVICE_START> for u32
source§fn from(v: SERVICE_START) -> Self
fn from(v: SERVICE_START) -> Self
Converts to this type from the input type.
source§impl Hash for SERVICE_START
impl Hash for SERVICE_START
source§impl IntUnderlying for SERVICE_START
impl IntUnderlying for SERVICE_START
source§impl LowerHex for SERVICE_START
impl LowerHex for SERVICE_START
source§impl Octal for SERVICE_START
impl Octal for SERVICE_START
source§impl Ord for SERVICE_START
impl Ord for SERVICE_START
source§impl PartialEq for SERVICE_START
impl PartialEq for SERVICE_START
source§fn eq(&self, other: &SERVICE_START) -> bool
fn eq(&self, other: &SERVICE_START) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SERVICE_START
impl PartialOrd for SERVICE_START
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_START
impl UpperHex for SERVICE_START
impl Copy for SERVICE_START
impl Eq for SERVICE_START
impl NativeConst for SERVICE_START
impl Send for SERVICE_START
impl StructuralPartialEq for SERVICE_START
Auto Trait Implementations§
impl Freeze for SERVICE_START
impl RefUnwindSafe for SERVICE_START
impl Sync for SERVICE_START
impl Unpin for SERVICE_START
impl UnwindSafe for SERVICE_START
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