pub struct RootBatchFailure {
pub total: usize,
pub failure_count: usize,
pub first_index: usize,
pub first_status: RootStatus,
pub first_iterations: u32,
}Expand description
One or more lanes of a RootBatch did not converge.
Returned by RootBatch::roots. It names both the scale of the problem
(how many of how many) and a specific lane to look at, because “3 of 10 000
cells failed” is only actionable once you know which cell.
§Units
All counts and indices are dimensionless.
Fields§
§total: usizeNumber of lanes in the batch.
failure_count: usizeNumber of lanes that did not converge.
first_index: usizeIndex of the first non-converged lane.
first_status: RootStatusWhy that lane failed.
first_iterations: u32Iterations that lane performed before giving up.
Trait Implementations§
Source§impl Clone for RootBatchFailure
impl Clone for RootBatchFailure
impl Copy for RootBatchFailure
Source§impl Debug for RootBatchFailure
impl Debug for RootBatchFailure
Source§impl Display for RootBatchFailure
impl Display for RootBatchFailure
impl Eq for RootBatchFailure
Source§impl Error for RootBatchFailure
impl Error for RootBatchFailure
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()
Source§impl PartialEq for RootBatchFailure
impl PartialEq for RootBatchFailure
impl StructuralPartialEq for RootBatchFailure
Auto Trait Implementations§
impl Freeze for RootBatchFailure
impl RefUnwindSafe for RootBatchFailure
impl Send for RootBatchFailure
impl Sync for RootBatchFailure
impl Unpin for RootBatchFailure
impl UnsafeUnpin for RootBatchFailure
impl UnwindSafe for RootBatchFailure
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