#[repr(u32)]
pub enum ServiceErrorControl {
Critical,
Ignore,
Normal,
Severe,
}Expand description
Error handling strategy for service failures.
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms682450(v=vs.85).aspx
Variants§
Implementations§
source§impl ServiceErrorControl
impl ServiceErrorControl
pub fn to_raw(&self) -> u32
pub fn from_raw(raw: u32) -> Result<ServiceErrorControl, ParseRawError>
Trait Implementations§
source§impl Clone for ServiceErrorControl
impl Clone for ServiceErrorControl
source§fn clone(&self) -> ServiceErrorControl
fn clone(&self) -> ServiceErrorControl
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 ServiceErrorControl
impl Debug for ServiceErrorControl
source§impl Hash for ServiceErrorControl
impl Hash for ServiceErrorControl
source§impl PartialEq<ServiceErrorControl> for ServiceErrorControl
impl PartialEq<ServiceErrorControl> for ServiceErrorControl
source§fn eq(&self, other: &ServiceErrorControl) -> bool
fn eq(&self, other: &ServiceErrorControl) -> bool
This method tests for
self and other values to be equal, and is used
by ==.