pub struct InstallRootError { /* private fields */ }Expand description
Typed public failure for the root-install workflow.
Implementations§
Source§impl InstallRootError
impl InstallRootError
Sourcepub fn new<E>(phase: InstallRootPhase, source: E) -> Selfwhere
E: Error + 'static,
pub fn new<E>(phase: InstallRootPhase, source: E) -> Selfwhere
E: Error + 'static,
Preserve a concrete cause while assigning it to a stable install phase.
pub const fn phase(&self) -> InstallRootPhase
Trait Implementations§
Source§impl Debug for InstallRootError
impl Debug for InstallRootError
Source§impl Display for InstallRootError
impl Display for InstallRootError
Source§impl Error for InstallRootError
impl Error for InstallRootError
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 InstallRootError
impl !Send for InstallRootError
impl !Sync for InstallRootError
impl !UnwindSafe for InstallRootError
impl Freeze for InstallRootError
impl Unpin for InstallRootError
impl UnsafeUnpin for InstallRootError
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