#[repr(u32)]pub enum ServiceType {
Adapter = 4,
FileSystemDriver = 2,
KernelDriver = 1,
RecognizerDriver = 8,
Win32OwnProcess = 16,
Win32ShareProcess = 32,
}
Expand description
Defines the types of a Windows service.
Variants§
Trait Implementations§
Source§impl Clone for ServiceType
impl Clone for ServiceType
Source§fn clone(&self) -> ServiceType
fn clone(&self) -> ServiceType
Returns a duplicate 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 ServiceType
impl Debug for ServiceType
Source§impl Default for ServiceType
impl Default for ServiceType
Source§fn default() -> ServiceType
fn default() -> ServiceType
Returns the “default value” for a type. Read more
Source§impl Display for ServiceType
impl Display for ServiceType
Source§impl PartialEq for ServiceType
impl PartialEq for ServiceType
Source§impl TryFrom<u32> for ServiceType
impl TryFrom<u32> for ServiceType
impl Copy for ServiceType
impl StructuralPartialEq for ServiceType
Auto Trait Implementations§
impl Freeze for ServiceType
impl RefUnwindSafe for ServiceType
impl Send for ServiceType
impl Sync for ServiceType
impl Unpin for ServiceType
impl UnwindSafe for ServiceType
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