pub enum WindowsServiceDependency {
Service(String),
Group(String),
}Expand description
A caller-selected SCM dependency by service key or load-order group.
§Errors
Infallible: this type carries a caller choice and cannot fail. The Service
Control Manager conditions it takes part in — an access denial (OS code
5) and a registration that disappeared before the operation — are
reported by WindowsScmManager’s operations, not by this type.
Variants§
Service(String)
Require another service to start first.
Group(String)
Require a Windows load-order group to start first.
Trait Implementations§
Source§impl Clone for WindowsServiceDependency
impl Clone for WindowsServiceDependency
Source§impl Debug for WindowsServiceDependency
impl Debug for WindowsServiceDependency
impl Eq for WindowsServiceDependency
Source§impl PartialEq for WindowsServiceDependency
impl PartialEq for WindowsServiceDependency
impl StructuralPartialEq for WindowsServiceDependency
Auto Trait Implementations§
impl Freeze for WindowsServiceDependency
impl RefUnwindSafe for WindowsServiceDependency
impl Send for WindowsServiceDependency
impl Sync for WindowsServiceDependency
impl Unpin for WindowsServiceDependency
impl UnsafeUnpin for WindowsServiceDependency
impl UnwindSafe for WindowsServiceDependency
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