#[non_exhaustive]pub struct WalkFailure {
pub error: IrError,
pub component_path: Vec<String>,
pub counts: WalkCounts,
}Expand description
A walk that stopped: why, where, and how far it had got.
The partial HTML is dropped: nothing a failed walk wrote leaves it.
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.error: IrErrorWhy it stopped.
component_path: Vec<String>The component names of the islands open where it stopped, outermost first; empty when it stopped outside every island. FMIR v2 carries no source positions, so a component the compiler inlined into its parent has no name here; the source-position table of FMIR v3 adds it.
counts: WalkCountsWhat it had written by then.
Trait Implementations§
Source§impl Clone for WalkFailure
impl Clone for WalkFailure
Source§impl Debug for WalkFailure
impl Debug for WalkFailure
Source§impl Display for WalkFailure
impl Display for WalkFailure
impl Eq for WalkFailure
Source§impl Error for WalkFailure
impl Error for WalkFailure
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 WalkFailure
impl PartialEq for WalkFailure
impl StructuralPartialEq for WalkFailure
Auto Trait Implementations§
impl Freeze for WalkFailure
impl RefUnwindSafe for WalkFailure
impl Send for WalkFailure
impl Sync for WalkFailure
impl Unpin for WalkFailure
impl UnsafeUnpin for WalkFailure
impl UnwindSafe for WalkFailure
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