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