#[non_exhaustive]pub enum StandaloneFixturePoolError {
Preparation {
stage: StandaloneFixturePoolStage,
source: Box<ControllerSnapshotError>,
timings: Box<StandaloneFixturePoolTimings>,
},
RecoveryFailed {
original: Box<ControllerSnapshotError>,
rebuild: Box<ControllerSnapshotError>,
timings: Box<StandaloneFixturePoolTimings>,
},
}Expand description
Failure to acquire a standalone fixture-pool lease with structured diagnostics.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Preparation
Initial build/capture or snapshot restoration failed.
Fields
§
stage: StandaloneFixturePoolStageFailed lifecycle stage.
§
source: Box<ControllerSnapshotError>Structured snapshot failure.
§
timings: Box<StandaloneFixturePoolTimings>Timings recorded before acquisition failed.
RecoveryFailed
Dead-transport restoration failed and replacement snapshot capture also failed.
Fields
§
original: Box<ControllerSnapshotError>Original dead-transport restoration failure.
§
rebuild: Box<ControllerSnapshotError>Snapshot failure while building the replacement slot.
§
timings: Box<StandaloneFixturePoolTimings>Combined restore, teardown, and rebuild timings.
Implementations§
Source§impl StandaloneFixturePoolError
impl StandaloneFixturePoolError
Sourcepub const fn timings(&self) -> StandaloneFixturePoolTimings
pub const fn timings(&self) -> StandaloneFixturePoolTimings
Timings recorded before this acquisition failed.
Trait Implementations§
Source§impl Debug for StandaloneFixturePoolError
impl Debug for StandaloneFixturePoolError
Source§impl Display for StandaloneFixturePoolError
impl Display for StandaloneFixturePoolError
Source§impl Error for StandaloneFixturePoolError
impl Error for StandaloneFixturePoolError
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 StandaloneFixturePoolError
impl RefUnwindSafe for StandaloneFixturePoolError
impl Send for StandaloneFixturePoolError
impl Sync for StandaloneFixturePoolError
impl Unpin for StandaloneFixturePoolError
impl UnsafeUnpin for StandaloneFixturePoolError
impl UnwindSafe for StandaloneFixturePoolError
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