Skip to main content

Publisher

Trait Publisher 

Source
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§

Source

fn push_branch(&self, root: &Path, branch: &str) -> Result<(), String>

Source

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".

Implementors§