pub trait Publisher: Send + Sync {
// Required methods
fn push_branch(&self, root: &Path, branch: &str) -> Result<(), String>;
fn open_pull_request(
&self,
root: &Path,
branch: &str,
title: &str,
body: &str,
) -> Result<String, String>;
}Required Methods§
fn push_branch(&self, root: &Path, branch: &str) -> Result<(), String>
fn open_pull_request( &self, root: &Path, branch: &str, title: &str, body: &str, ) -> Result<String, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".