pub trait ExecJiraCommand {
// Required method
fn exec_jira_command(
&self,
) -> impl Future<Output = Result<Vec<PrintableData>, Box<dyn Error>>>;
}Expand description
Trait to be impelemented to execute Jira commands in Jira commands executors
Required Methods§
Sourcefn exec_jira_command(
&self,
) -> impl Future<Output = Result<Vec<PrintableData>, Box<dyn Error>>>
fn exec_jira_command( &self, ) -> impl Future<Output = Result<Vec<PrintableData>, Box<dyn Error>>>
Asynchronous function to execute Jira command.
§Returns
- A Result with a unit type or a Box with a dyn std::error::Error trait.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<R: IssueCmdRunnerApi> ExecJiraCommand for IssueExecutor<R>
Implementation of ExecJiraCommand for IssueExecutor This trait is responsible for executing the Jira command
§Methods
exec_jira_command(&self) -> Result<(), Box<dyn std::error::Error>- executes the Jira command
impl<R: IssueCmdRunnerApi> ExecJiraCommand for IssueTransitionExecutor<R>
Implementation of ExecJiraCommand for IssueTransitionExecutor This trait is responsible for executing the Jira command
§Methods
exec_jira_command(&self) -> Result<(), Box<dyn std::error::Error>>- executes the Jira command
impl<R: LinkIssueCmdRunnerApi> ExecJiraCommand for LinkIssueExecutor<R>
Implementation of the ExecJiraCommand trait for VersionExecutor
This trait is responsible for executing the Jira command
§Methods
exec_jira_command(&self) -> Result<(), Box<dyn std::error::Error>>- executes the Jira command
impl<R: ProjectCmdRunnerApi> ExecJiraCommand for ProjectExecutor<R>
Implementation of the ExecJiraCommand trait for ProjectExecutor This trait is responsible for executing the Jira command
§Methods
exec_jira_command(&self) -> Result<(), Box<dyn std::error::Error>>- executes the Jira command
impl<R: VersionCmdRunnerApi> ExecJiraCommand for VersionExecutor<R>
Implementation of the ExecJiraCommand trait for VersionExecutor
This trait is responsible for executing the Jira command
§Methods
exec_jira_command(&self) -> Result<(), Box<dyn std::error::Error>>- executes the Jira command