pub struct MergeRefused(pub String);Expand description
A merge git-stk itself refused, rather than one the platform rejected.
The distinction matters at the point of reporting: a platform failure is worth re-diagnosing against the review’s merge blocker, and a refusal is not - its reason is already exact, and re-diagnosing one can answer it with advice that contradicts it.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Debug for MergeRefused
impl Debug for MergeRefused
Source§impl Display for MergeRefused
impl Display for MergeRefused
Source§impl Error for MergeRefused
impl Error for MergeRefused
1.30.0 · 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 MergeRefused
impl RefUnwindSafe for MergeRefused
impl Send for MergeRefused
impl Sync for MergeRefused
impl Unpin for MergeRefused
impl UnsafeUnpin for MergeRefused
impl UnwindSafe for MergeRefused
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