pub trait Commit {
// Required methods
fn info<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
sha: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<CommitInfo, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn list<'life0, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
option: Option<ListOptions>,
) -> Pin<Box<dyn Future<Output = Result<Vec<CommitListInfo>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Required Methods§
Sourcefn info<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
sha: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<CommitInfo, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn info<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
sha: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<CommitInfo, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".