pub enum LaunchOutcome {
Success(Output),
Conflicts(Output),
Failed(String),
}Expand description
菜单模式的一次 git 执行结果。
Variants§
Success(Output)
顺利完成,无冲突(附捕获的输出,供回放)
Conflicts(Output)
产生冲突,等待接管解决(附捕获的输出,供回放)
Failed(String)
非冲突失败(附整理后的失败原因,供弹框展示)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LaunchOutcome
impl RefUnwindSafe for LaunchOutcome
impl Send for LaunchOutcome
impl Sync for LaunchOutcome
impl Unpin for LaunchOutcome
impl UnsafeUnpin for LaunchOutcome
impl UnwindSafe for LaunchOutcome
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more