pub struct PocketIcStartupError { /* private fields */ }Expand description
Original startup failure, bounded server output and typed cleanup failures.
Match Self::failure to classify the original cause. Cleanup diagnostics
never replace it, and command/server failures retain separate ownership.
Output is an inert bounded snapshot; it grants no process authority.
Implementations§
Source§impl PocketIcStartupError
impl PocketIcStartupError
Sourcepub fn failure(&self) -> &PocketIcStartupFailure
pub fn failure(&self) -> &PocketIcStartupFailure
Original cause, unaffected by subsequent cleanup failure.
Sourcepub const fn output(&self) -> &PocketIcManagedServerOutput
pub const fn output(&self) -> &PocketIcManagedServerOutput
Bounded output from the server owned by this operation, if any.
Sourcepub fn command_cleanup(&self) -> Option<&CleanupError>
pub fn command_cleanup(&self) -> Option<&CleanupError>
Failure cleaning the command’s owned process group/direct child.
Sourcepub fn server_cleanup(&self) -> Option<&CleanupError>
pub fn server_cleanup(&self) -> Option<&CleanupError>
Failure cleaning the managed server’s owned process group/direct child.
Trait Implementations§
Source§impl Debug for PocketIcStartupError
impl Debug for PocketIcStartupError
Source§impl Display for PocketIcStartupError
impl Display for PocketIcStartupError
Source§impl Error for PocketIcStartupError
impl Error for PocketIcStartupError
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 PocketIcStartupError
impl !UnwindSafe for PocketIcStartupError
impl Freeze for PocketIcStartupError
impl Send for PocketIcStartupError
impl Sync for PocketIcStartupError
impl Unpin for PocketIcStartupError
impl UnsafeUnpin for PocketIcStartupError
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