pub struct RebaseAbort { /* private fields */ }Expand description
Abort a rebase in progress.
§Examples
use ironflow_ops_git::rebase::RebaseAbort;
use ironflow_core::operation::Operation;
let op = RebaseAbort::new("/path/to/repo");
assert_eq!(op.kind(), "git");Implementations§
Source§impl RebaseAbort
impl RebaseAbort
Sourcepub async fn run(
&self,
_ctx: &OperationContext,
) -> Result<RebaseAbortOutput, OperationError>
pub async fn run( &self, _ctx: &OperationContext, ) -> Result<RebaseAbortOutput, OperationError>
Execute and return a typed result.
Trait Implementations§
Source§impl Operation for RebaseAbort
impl Operation for RebaseAbort
Source§fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 OperationContext,
) -> Pin<Box<dyn Future<Output = Result<Value, OperationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn execute<'life0, 'life1, 'async_trait>(
&'life0 self,
ctx: &'life1 OperationContext,
) -> Pin<Box<dyn Future<Output = Result<Value, OperationError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Execute the operation and return the result as JSON. Read more
Source§impl TypedOperation for RebaseAbort
impl TypedOperation for RebaseAbort
Source§type Output = RebaseAbortOutput
type Output = RebaseAbortOutput
The concrete output type that
Operation::execute produces.Auto Trait Implementations§
impl Freeze for RebaseAbort
impl RefUnwindSafe for RebaseAbort
impl Send for RebaseAbort
impl Sync for RebaseAbort
impl Unpin for RebaseAbort
impl UnsafeUnpin for RebaseAbort
impl UnwindSafe for RebaseAbort
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