pub enum RemoteHelperPushError {
RefspecRequired,
MarksRequired,
Engine(GitError),
}Expand description
Classified failure from push_via_remote_helper.
Variants§
RefspecRequired
The helper omitted the mandatory private refspec mapping needed by the
import/export push protocol.
MarksRequired
Git v2.55 rejects export helpers that advertise neither import nor export marks; callers preserve that oracle-visible classification.
Engine(GitError)
Any other protocol, repository, runtime, or ref-update failure.
Trait Implementations§
Source§impl Debug for RemoteHelperPushError
impl Debug for RemoteHelperPushError
Source§impl Display for RemoteHelperPushError
impl Display for RemoteHelperPushError
Source§impl Error for RemoteHelperPushError
impl Error for RemoteHelperPushError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for RemoteHelperPushError
impl RefUnwindSafe for RemoteHelperPushError
impl Send for RemoteHelperPushError
impl Sync for RemoteHelperPushError
impl Unpin for RemoteHelperPushError
impl UnsafeUnpin for RemoteHelperPushError
impl UnwindSafe for RemoteHelperPushError
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