pub struct FailureSummary { /* private fields */ }Expand description
A value-redacted failure summary suitable for execution inspection.
Implementations§
Source§impl FailureSummary
impl FailureSummary
Sourcepub const fn new(category: FailureCategory, failure_id: FailureId) -> Self
pub const fn new(category: FailureCategory, failure_id: FailureId) -> Self
Constructs a failure summary from a stable category and opaque ID.
Sourcepub const fn category(self) -> FailureCategory
pub const fn category(self) -> FailureCategory
Returns the stable failure category.
Sourcepub const fn failure_id(self) -> FailureId
pub const fn failure_id(self) -> FailureId
Returns the opaque diagnostic correlation ID.
Trait Implementations§
Source§impl Clone for FailureSummary
impl Clone for FailureSummary
Source§fn clone(&self) -> FailureSummary
fn clone(&self) -> FailureSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FailureSummary
Source§impl Debug for FailureSummary
impl Debug for FailureSummary
impl Eq for FailureSummary
Source§impl Hash for FailureSummary
impl Hash for FailureSummary
Source§impl Ord for FailureSummary
impl Ord for FailureSummary
Source§fn cmp(&self, other: &FailureSummary) -> Ordering
fn cmp(&self, other: &FailureSummary) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FailureSummary
impl PartialEq for FailureSummary
Source§impl PartialOrd for FailureSummary
impl PartialOrd for FailureSummary
impl StructuralPartialEq for FailureSummary
Auto Trait Implementations§
impl Freeze for FailureSummary
impl RefUnwindSafe for FailureSummary
impl Send for FailureSummary
impl Sync for FailureSummary
impl Unpin for FailureSummary
impl UnsafeUnpin for FailureSummary
impl UnwindSafe for FailureSummary
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