#[non_exhaustive]pub struct GraphError {
pub failures: Vec<GraphFailure>,
pub run: GraphRun,
}Expand description
A graph run in which something failed, with what the rest produced.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.failures: Vec<GraphFailure>What failed, in order.
run: GraphRunWhat the run did.
Trait Implementations§
Source§impl Debug for GraphError
impl Debug for GraphError
Source§impl Display for GraphError
impl Display for GraphError
Source§impl Error for GraphError
impl Error for GraphError
1.30.0 · 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 GraphError
impl !UnwindSafe for GraphError
impl Forget for GraphError
impl Freeze for GraphErrorwhere
*const u8 is !null: Freeze,
PhantomData<GraphFailure>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<(String, usize)>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<HashMap<TypeId, Arc<dyn Any + Send + Sync>>> is !null: Freeze,
PhantomData<ArcInner<HashMap<TypeId, Arc<dyn Any + Send + Sync>>>>: Freeze,
impl Move for GraphError
impl Send for GraphError
impl Sync for GraphError
impl Unpin for GraphError
impl UnsafeUnpin for GraphErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<GraphFailure>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<(String, usize)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<HashMap<TypeId, Arc<dyn Any + Send + Sync>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<HashMap<TypeId, Arc<dyn Any + Send + Sync>>>>: UnsafeUnpin,
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