pub enum GitExecError {
Spawn(String),
Remote(RemoteCommandError),
Container(ContainerError),
}Expand description
Why a bounded git run could not produce its bytes.
Variants§
Spawn(String)
The local git process could not be started.
Remote(RemoteCommandError)
The remote execution boundary refused or failed; the display keeps the boundary’s own typed diagnosis (transport, supervisor, missing tooling, cancellation, timeout…).
Container(ContainerError)
The container engine boundary refused or failed (engine
unavailable, container not running, output bound exceeded,
cancellation…), or the workdir/argv could not be carried as
UTF-8 docker exec argv — a typed refusal, never a lossy guess.
Trait Implementations§
Source§impl Debug for GitExecError
impl Debug for GitExecError
Source§impl Display for GitExecError
impl Display for GitExecError
Source§impl From<GitExecError> for RemoteGitError
impl From<GitExecError> for RemoteGitError
Source§fn from(error: GitExecError) -> Self
fn from(error: GitExecError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitExecError
impl RefUnwindSafe for GitExecError
impl Send for GitExecError
impl Sync for GitExecError
impl Unpin for GitExecError
impl UnsafeUnpin for GitExecError
impl UnwindSafe for GitExecError
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