enum FileScanOutcome {
Ok {
hunks: Vec<Hunk>,
oversize: bool,
},
SubprocessFailed,
}Expand description
Per-file fetch result. SubprocessFailed propagates back to scan
so a single-file crash flips scanner_ok without poisoning the rest.
oversize marks a file whose full-context fetch tripped the size cap
and fell back to a bounded diff (or empty) - it renders but doesn’t
expand, and crucially does NOT flip the scope-wide scanner_ok.
Variants§
Auto Trait Implementations§
impl Freeze for FileScanOutcome
impl RefUnwindSafe for FileScanOutcome
impl Send for FileScanOutcome
impl Sync for FileScanOutcome
impl Unpin for FileScanOutcome
impl UnsafeUnpin for FileScanOutcome
impl UnwindSafe for FileScanOutcome
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