pub trait ChangeProvider: Send + Sync {
// Required method
fn changes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 ChangeRequest,
cancellation: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<ChangeSet, ChangeError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}Expand description
Read-only source of repository changes.
Required Methods§
Sourcefn changes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 ChangeRequest,
cancellation: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<ChangeSet, ChangeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn changes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
request: &'life1 ChangeRequest,
cancellation: &'life2 CancellationToken,
) -> Pin<Box<dyn Future<Output = Result<ChangeSet, ChangeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Collects a bounded and fingerprinted change set.
§Errors
Returns ChangeError for invalid input, unsupported scopes, Git failures, cancellation,
timeouts, malformed output, and output-budget exhaustion.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".