pub enum NumstatError {
Subprocess,
Oversize,
}Expand description
Underlying git diff --numstat subprocess didn’t return a usable
result. Callers map this to LayerState::ScanFailed so the
renderer can surface the failure. The variants carry enough
classification to triage from the log emitted by run_git;
downstream callers don’t differentiate them today but the type
keeps the option open.
Variants§
Subprocess
Subprocess crashed, timed out, or exited non-zero. See the
git_subprocess_failed / git_subprocess_nonzero_exit /
git_subprocess_timeout events.
Oversize
Stdout exceeded the per-command size cap. See
git_subprocess_oversize WARN event.
Trait Implementations§
Source§impl Clone for NumstatError
impl Clone for NumstatError
impl Copy for NumstatError
Source§impl Debug for NumstatError
impl Debug for NumstatError
impl Eq for NumstatError
Source§impl PartialEq for NumstatError
impl PartialEq for NumstatError
impl StructuralPartialEq for NumstatError
Auto Trait Implementations§
impl Freeze for NumstatError
impl RefUnwindSafe for NumstatError
impl Send for NumstatError
impl Sync for NumstatError
impl Unpin for NumstatError
impl UnsafeUnpin for NumstatError
impl UnwindSafe for NumstatError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.