pub struct ErrorDetail {
pub code: AnalysisErrorCode,
pub path: Option<String>,
pub resource: Option<(ResourceName, u64, u64)>,
}Expand description
One typed analysis error’s reportable detail: the code, the exact path where the partition names one, and the crossing triple for a resource error.
Fields§
§code: AnalysisErrorCode§path: Option<String>§resource: Option<(ResourceName, u64, u64)>Implementations§
Trait Implementations§
Source§impl Clone for ErrorDetail
impl Clone for ErrorDetail
Source§fn clone(&self) -> ErrorDetail
fn clone(&self) -> ErrorDetail
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 moreSource§impl Debug for ErrorDetail
impl Debug for ErrorDetail
impl Eq for ErrorDetail
Source§impl Ord for ErrorDetail
impl Ord for ErrorDetail
Source§fn cmp(&self, other: &ErrorDetail) -> Ordering
fn cmp(&self, other: &ErrorDetail) -> 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 ErrorDetail
impl PartialEq for ErrorDetail
Source§impl PartialOrd for ErrorDetail
impl PartialOrd for ErrorDetail
impl StructuralPartialEq for ErrorDetail
Auto Trait Implementations§
impl Freeze for ErrorDetail
impl RefUnwindSafe for ErrorDetail
impl Send for ErrorDetail
impl Sync for ErrorDetail
impl Unpin for ErrorDetail
impl UnsafeUnpin for ErrorDetail
impl UnwindSafe for ErrorDetail
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