pub trait Initialize {
// Required methods
fn init(branch_1: String, branch_2: String) -> Self;
fn return_path() -> PathBuf;
fn return_repo(file_path: PathBuf) -> Option<Repository>;
}Required Methods§
fn init(branch_1: String, branch_2: String) -> Self
fn return_path() -> PathBuf
fn return_repo(file_path: PathBuf) -> Option<Repository>
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.