pub enum ControlServiceError {
Show 14 variants
AccessDenied(u32, String),
InvalidHandle(u32, String),
PathNotFound(u32, String),
ServiceAlreadyRunning(u32, String),
ServiceNotActive(u32, String),
ServiceDatabaseLocked(u32, String),
ServiceDependencyDeleted(u32, String),
ServiceDependencyFail(u32, String),
ServiceDisabled(u32, String),
ServiceLogonFailed(u32, String),
ServiceMarkedForDelete(u32, String),
ServiceNoThread(u32, String),
ServiceRequestTimeout(u32, String),
Unknown(u32, String),
}
Variants§
AccessDenied(u32, String)
InvalidHandle(u32, String)
PathNotFound(u32, String)
ServiceAlreadyRunning(u32, String)
ServiceNotActive(u32, String)
ServiceDatabaseLocked(u32, String)
ServiceDependencyDeleted(u32, String)
ServiceDependencyFail(u32, String)
ServiceDisabled(u32, String)
ServiceLogonFailed(u32, String)
ServiceMarkedForDelete(u32, String)
ServiceNoThread(u32, String)
ServiceRequestTimeout(u32, String)
Unknown(u32, String)
Trait Implementations§
Source§impl Debug for ControlServiceError
impl Debug for ControlServiceError
Source§impl Display for ControlServiceError
impl Display for ControlServiceError
Source§impl Error for ControlServiceError
impl Error for ControlServiceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ControlServiceError
impl RefUnwindSafe for ControlServiceError
impl Send for ControlServiceError
impl Sync for ControlServiceError
impl Unpin for ControlServiceError
impl UnwindSafe for ControlServiceError
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