pub enum ServiceAccess {
QueryStatus,
Start,
Stop,
PauseContinue,
AllAccess,
Custom(u32),
}Expand description
Access rights for opening an individual Windows service.
Variants§
QueryStatus
Query runtime status.
Start
Start the service.
Stop
Stop the service.
PauseContinue
Pause/continue the service.
AllAccess
Full service access rights.
Custom(u32)
Custom service access rights.
Trait Implementations§
Source§impl Clone for ServiceAccess
impl Clone for ServiceAccess
Source§fn clone(&self) -> ServiceAccess
fn clone(&self) -> ServiceAccess
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 ServiceAccess
impl Debug for ServiceAccess
Source§impl PartialEq for ServiceAccess
impl PartialEq for ServiceAccess
impl Copy for ServiceAccess
impl Eq for ServiceAccess
impl StructuralPartialEq for ServiceAccess
Auto Trait Implementations§
impl Freeze for ServiceAccess
impl RefUnwindSafe for ServiceAccess
impl Send for ServiceAccess
impl Sync for ServiceAccess
impl Unpin for ServiceAccess
impl UnsafeUnpin for ServiceAccess
impl UnwindSafe for ServiceAccess
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