pub struct LoopDomain { /* private fields */ }Implementations§
Source§impl LoopDomain
impl LoopDomain
pub fn new( workspace_root: impl AsRef<Path>, process_interval_ms: u64, ralph_command: impl Into<String>, ) -> Self
pub fn list(&self, params: LoopListParams) -> Result<Vec<LoopRecord>, ApiError>
pub fn status(&self) -> LoopStatusResult
pub fn process(&mut self) -> Result<(), ApiError>
pub fn prune(&self) -> Result<(), ApiError>
pub fn retry(&self, params: LoopRetryParams) -> Result<(), ApiError>
pub fn discard(&self, id: &str) -> Result<(), ApiError>
pub fn stop(&self, params: LoopStopMergeParams) -> Result<(), ApiError>
pub fn merge(&self, params: LoopStopMergeParams) -> Result<(), ApiError>
pub fn trigger_merge_task( &self, params: LoopTriggerMergeTaskParams, tasks: &mut TaskDomain, ) -> Result<TriggerMergeTaskResult, ApiError>
Auto Trait Implementations§
impl Freeze for LoopDomain
impl RefUnwindSafe for LoopDomain
impl Send for LoopDomain
impl Sync for LoopDomain
impl Unpin for LoopDomain
impl UnsafeUnpin for LoopDomain
impl UnwindSafe for LoopDomain
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