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