pub trait AmendGit:
RecoveryGit
+ RemovalGit
+ ObservationGit {
// Required methods
fn relationship(
&self,
repository: &Repository,
participant: &Participant,
control: &Control,
) -> impl Future<Output = Result<Relationship, Problem>> + Send;
fn repair(
&self,
repository: &Repository,
participant: &Participant,
control: &Control,
) -> impl Future<Output = Result<(), Problem>> + Send;
fn move_worktree(
&self,
repository: &Repository,
participant: &Participant,
destination: &Path,
control: &Control,
) -> impl Future<Output = Result<(), Problem>> + Send;
}Expand description
Git operations required to add, move and reconcile participants.
Required Methods§
Sourcefn relationship(
&self,
repository: &Repository,
participant: &Participant,
control: &Control,
) -> impl Future<Output = Result<Relationship, Problem>> + Send
fn relationship( &self, repository: &Repository, participant: &Participant, control: &Control, ) -> impl Future<Output = Result<Relationship, Problem>> + Send
Locate the registered participant and determine whether its links need repair.
Sourcefn repair(
&self,
repository: &Repository,
participant: &Participant,
control: &Control,
) -> impl Future<Output = Result<(), Problem>> + Send
fn repair( &self, repository: &Repository, participant: &Participant, control: &Control, ) -> impl Future<Output = Result<(), Problem>> + Send
Repair the relationship for the verified participant.
Sourcefn move_worktree(
&self,
repository: &Repository,
participant: &Participant,
destination: &Path,
control: &Control,
) -> impl Future<Output = Result<(), Problem>> + Send
fn move_worktree( &self, repository: &Repository, participant: &Participant, destination: &Path, control: &Control, ) -> impl Future<Output = Result<(), Problem>> + Send
Ask Git to move the participant worktree to its destination.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".