pub trait WorkSpaceEditApplier:
Environment
+ Send
+ Sync {
// Required method
fn ApplyWorkSpaceEdit<'life0, 'async_trait>(
&'life0 self,
EditDTO: WorkSpaceEditDTO,
) -> Pin<Box<dyn Future<Output = Result<bool, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
An abstract service contract for an environment component that can apply a
WorkSpaceEdit.
A WorkSpaceEdit is a complex, potentially transactional operation that can
include text edits to multiple files, as well as file system operations like
creating, deleting, or renaming files. This trait isolates the complex
logic of applying such edits.