pub struct Issue {
pub kind: IssueKind,
pub path: Option<PathBuf>,
pub message: String,
pub os_error: Option<i32>,
}Expand description
Bounded diagnostic evidence retained with an index state.
Fields§
§kind: IssueKindMachine-readable category.
path: Option<PathBuf>Affected path when it fits the detail bound. Issues an opened root retains or returns name it relative to the root, the form its reads use; a message may still name the absolute path the operating system refused.
message: StringHuman-readable detail, truncated at a UTF-8 boundary when necessary.
os_error: Option<i32>Operating-system error number when one was supplied.
Implementations§
Trait Implementations§
impl Eq for Issue
impl StructuralPartialEq for Issue
Auto Trait Implementations§
impl Freeze for Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnsafeUnpin for Issue
impl UnwindSafe for Issue
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