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 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 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 for WindowsErrorSeverity
impl PartialEq for WindowsErrorSeverity
impl Copy for WindowsErrorSeverity
impl Eq for WindowsErrorSeverity
impl StructuralPartialEq for WindowsErrorSeverity
Auto Trait Implementations§
impl Freeze for WindowsErrorSeverity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.