pub struct ContextGroup {
pub context: String,
pub failures: Vec<StructuredFailure>,
}Expand description
Structured failures that share a top context-frame message.
Fields§
§context: StringThe shared top context-frame message, or (no context) when the errors
carry no context chain.
failures: Vec<StructuredFailure>The failures in this group, in the order they were scanned.
Trait Implementations§
Source§impl Clone for ContextGroup
impl Clone for ContextGroup
Source§fn clone(&self) -> ContextGroup
fn clone(&self) -> ContextGroup
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 moreAuto Trait Implementations§
impl Freeze for ContextGroup
impl RefUnwindSafe for ContextGroup
impl Send for ContextGroup
impl Sync for ContextGroup
impl Unpin for ContextGroup
impl UnsafeUnpin for ContextGroup
impl UnwindSafe for ContextGroup
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