Enum jj_lib::git::GitPushError
source · pub enum GitPushError {
NoSuchRemote(String),
RemoteReservedForLocalGitRepo,
NotFastForward,
RefUpdateRejected(Vec<String>),
InternalGitError(Error),
}
Variants§
NoSuchRemote(String)
RemoteReservedForLocalGitRepo
NotFastForward
RefUpdateRejected(Vec<String>)
InternalGitError(Error)
Trait Implementations§
source§impl Debug for GitPushError
impl Debug for GitPushError
source§impl Display for GitPushError
impl Display for GitPushError
source§impl Error for GitPushError
impl Error for GitPushError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<Error> for GitPushError
impl From<Error> for GitPushError
source§impl PartialEq for GitPushError
impl PartialEq for GitPushError
source§fn eq(&self, other: &GitPushError) -> bool
fn eq(&self, other: &GitPushError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitPushError
Auto Trait Implementations§
impl Freeze for GitPushError
impl RefUnwindSafe for GitPushError
impl Send for GitPushError
impl Sync for GitPushError
impl Unpin for GitPushError
impl UnwindSafe for GitPushError
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