pub trait Release {
// Required methods
fn create<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: &'life1 str,
name: Option<&'life2 str>,
body: Option<&'life3 str>,
target_commitish: Option<&'life4 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait;
fn info<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn list<'life0, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
) -> Pin<Box<dyn Future<Output = Result<Vec<ReleaseInfo>, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn update<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: &'life1 str,
option: UpdateOption,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}Required Methods§
Sourcefn create<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: &'life1 str,
name: Option<&'life2 str>,
body: Option<&'life3 str>,
target_commitish: Option<&'life4 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait,
fn create<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: &'life1 str,
name: Option<&'life2 str>,
body: Option<&'life3 str>,
target_commitish: Option<&'life4 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait,
Sourcefn info<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
tag_name: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, 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,
tag_name: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<ReleaseInfo, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Sourcefn list<'life0, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
) -> Pin<Box<dyn Future<Output = Result<Vec<ReleaseInfo>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
fn list<'life0, 'async_trait>(
&'life0 self,
repo_path: RepoPath,
) -> Pin<Box<dyn Future<Output = Result<Vec<ReleaseInfo>, Error>> + Send + 'async_trait>>where
'life0: 'async_trait,
Self: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".