#[repr(u32)]pub enum ServiceErrorControl {
Critical = 3,
Ignore = 0,
Normal = 1,
Severe = 2,
}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 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 ServiceErrorControl
impl Debug for ServiceErrorControl
Source§impl Hash for ServiceErrorControl
impl Hash for ServiceErrorControl
Source§impl PartialEq for ServiceErrorControl
impl PartialEq for ServiceErrorControl
impl Copy for ServiceErrorControl
impl Eq for ServiceErrorControl
impl StructuralPartialEq for ServiceErrorControl
Auto Trait Implementations§
impl Freeze for ServiceErrorControl
impl RefUnwindSafe for ServiceErrorControl
impl Send for ServiceErrorControl
impl Sync for ServiceErrorControl
impl Unpin for ServiceErrorControl
impl UnwindSafe for ServiceErrorControl
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