#[repr(u32)]pub enum ServiceStartType {
AutoStart = 2,
BootStart = 0,
DemandStart = 3,
Disabled = 4,
SystemStart = 1,
}
Expand description
Defines the start types for a Windows service.
Variants§
Trait Implementations§
Source§impl Clone for ServiceStartType
impl Clone for ServiceStartType
Source§fn clone(&self) -> ServiceStartType
fn clone(&self) -> ServiceStartType
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 ServiceStartType
impl Debug for ServiceStartType
Source§impl Default for ServiceStartType
impl Default for ServiceStartType
Source§fn default() -> ServiceStartType
fn default() -> ServiceStartType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ServiceStartType
impl PartialEq for ServiceStartType
Source§impl TryFrom<u32> for ServiceStartType
impl TryFrom<u32> for ServiceStartType
impl Copy for ServiceStartType
impl StructuralPartialEq for ServiceStartType
Auto Trait Implementations§
impl Freeze for ServiceStartType
impl RefUnwindSafe for ServiceStartType
impl Send for ServiceStartType
impl Sync for ServiceStartType
impl Unpin for ServiceStartType
impl UnwindSafe for ServiceStartType
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