pub enum WindowsErrorSeverity {
Normal,
Severe,
Critical,
Ignore,
}
Variants§
Normal
Specifies that the error is logged. A message box is displayed, informing the user that a service has failed to start. Startup will continue
Severe
Specifies that the error is logged (if possible). The computer attempts to restart with the last-known good configuration. This could result in the computer being able to restart, but the service may still be unable to run
Critical
Specifies that the error is logged (if possible). The computer attempts to restart with the last-known good configuration. If the last-known good configuration fails, startup also fails, and the boot process halts with a Stop error
Ignore
Specifies that the error is logged and startup continues. No notification is given to the user beyond recording the error in the event log
Trait Implementations§
source§impl Clone for WindowsErrorSeverity
impl Clone for WindowsErrorSeverity
source§fn clone(&self) -> WindowsErrorSeverity
fn clone(&self) -> WindowsErrorSeverity
Returns a copy 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 WindowsErrorSeverity
impl Debug for WindowsErrorSeverity
source§impl Default for WindowsErrorSeverity
impl Default for WindowsErrorSeverity
source§impl Display for WindowsErrorSeverity
impl Display for WindowsErrorSeverity
source§impl Hash for WindowsErrorSeverity
impl Hash for WindowsErrorSeverity
source§impl PartialEq<WindowsErrorSeverity> for WindowsErrorSeverity
impl PartialEq<WindowsErrorSeverity> for WindowsErrorSeverity
source§fn eq(&self, other: &WindowsErrorSeverity) -> bool
fn eq(&self, other: &WindowsErrorSeverity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WindowsErrorSeverity
impl Eq for WindowsErrorSeverity
impl StructuralEq for WindowsErrorSeverity
impl StructuralPartialEq for WindowsErrorSeverity
Auto Trait Implementations§
impl RefUnwindSafe for WindowsErrorSeverity
impl Send for WindowsErrorSeverity
impl Sync for WindowsErrorSeverity
impl Unpin for WindowsErrorSeverity
impl UnwindSafe for WindowsErrorSeverity
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