pub struct DeclaredError { /* private fields */ }Expand description
A declared aspect could not be installed or restored.
Implementations§
Source§impl DeclaredError
impl DeclaredError
Sourcepub const fn aspect(&self) -> DeclaredAspect
pub const fn aspect(&self) -> DeclaredAspect
Which aspect failed.
Sourcepub fn raw_os_error(&self) -> Option<i32>
pub fn raw_os_error(&self) -> Option<i32>
The underlying Win32 code, if there was one.
Trait Implementations§
Source§impl Debug for DeclaredError
impl Debug for DeclaredError
Source§impl Display for DeclaredError
impl Display for DeclaredError
Source§impl Error for DeclaredError
impl Error for DeclaredError
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 !RefUnwindSafe for DeclaredError
impl !UnwindSafe for DeclaredError
impl Freeze for DeclaredError
impl Send for DeclaredError
impl Sync for DeclaredError
impl Unpin for DeclaredError
impl UnsafeUnpin for DeclaredError
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