pub enum PassthroughReason {
Disabled,
RepoDisabled,
ConfigExcluded,
UnknownShim,
UnsupportedSubcommand,
ArgsNotWhitelisted,
Interactive,
MutatingGit,
DangerousDocker,
SideEffecting,
MachineReadable,
}Variants§
Disabled
RepoDisabled
ConfigExcluded
UnknownShim
UnsupportedSubcommand
ArgsNotWhitelisted
Interactive
MutatingGit
DangerousDocker
SideEffecting
MachineReadable
A machine-readable git form (--porcelain, -z, @{upstream}, …) that a
program parses — reducing it would corrupt shell prompts / IDE SCM.
(Outside an agent context entirely, run_shim short-circuits to a pure
exec before classification — no reason is ever recorded there.)
Implementations§
Trait Implementations§
Source§impl Clone for PassthroughReason
impl Clone for PassthroughReason
impl Copy for PassthroughReason
Source§impl Debug for PassthroughReason
impl Debug for PassthroughReason
impl Eq for PassthroughReason
Source§impl PartialEq for PassthroughReason
impl PartialEq for PassthroughReason
impl StructuralPartialEq for PassthroughReason
Auto Trait Implementations§
impl Freeze for PassthroughReason
impl RefUnwindSafe for PassthroughReason
impl Send for PassthroughReason
impl Sync for PassthroughReason
impl Unpin for PassthroughReason
impl UnsafeUnpin for PassthroughReason
impl UnwindSafe for PassthroughReason
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