pub struct ServiceOperationError {
pub name: Cow<'static, str>,
pub operation: Cow<'static, str>,
pub reason: Cow<'static, str>,
pub error_code: Option<i32>,
}Expand description
Service operation failure details.
Fields§
§name: Cow<'static, str>Service key name.
operation: Cow<'static, str>Operation that failed.
reason: Cow<'static, str>Failure reason.
error_code: Option<i32>Optional Windows error code.
Implementations§
Trait Implementations§
Source§impl Debug for ServiceOperationError
impl Debug for ServiceOperationError
Source§impl Display for ServiceOperationError
impl Display for ServiceOperationError
Source§impl Error for ServiceOperationError
impl Error for ServiceOperationError
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 ServiceOperationError
impl RefUnwindSafe for ServiceOperationError
impl Send for ServiceOperationError
impl Sync for ServiceOperationError
impl Unpin for ServiceOperationError
impl UnsafeUnpin for ServiceOperationError
impl UnwindSafe for ServiceOperationError
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