pub struct InstallPhaseFailureError { /* private fields */ }Expand description
InstallPhaseFailureError
Host error preserving both the phase operation error and the independent failure-receipt persistence error. Owned by the install receipt adapter and exposed through root-install failures.
Implementations§
Source§impl InstallPhaseFailureError
impl InstallPhaseFailureError
Sourcepub fn operation_error(&self) -> &(dyn Error + 'static)
pub fn operation_error(&self) -> &(dyn Error + 'static)
Return the original phase operation failure.
Sourcepub fn receipt_write_error(&self) -> &(dyn Error + 'static)
pub fn receipt_write_error(&self) -> &(dyn Error + 'static)
Return the independent failure-receipt persistence failure.
Trait Implementations§
Source§impl Debug for InstallPhaseFailureError
impl Debug for InstallPhaseFailureError
Source§impl Display for InstallPhaseFailureError
impl Display for InstallPhaseFailureError
Source§impl Error for InstallPhaseFailureError
impl Error for InstallPhaseFailureError
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 InstallPhaseFailureError
impl !Send for InstallPhaseFailureError
impl !Sync for InstallPhaseFailureError
impl !UnwindSafe for InstallPhaseFailureError
impl Freeze for InstallPhaseFailureError
impl Unpin for InstallPhaseFailureError
impl UnsafeUnpin for InstallPhaseFailureError
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