pub enum FreenetBinary {
CurrentCrate(BuildProfile),
Installed,
Path(PathBuf),
Workspace {
path: PathBuf,
profile: BuildProfile,
},
}Expand description
Specifies which freenet binary to use for the test network
Variants§
CurrentCrate(BuildProfile)
Build and use binary from current cargo workspace
Installed
Use freenet binary from PATH
Path(PathBuf)
Use binary at specific path
Workspace
Build binary from a cargo workspace at specified path Use this for worktrees or when freenet-core is in a different location
Implementations§
Trait Implementations§
Source§impl Clone for FreenetBinary
impl Clone for FreenetBinary
Source§fn clone(&self) -> FreenetBinary
fn clone(&self) -> FreenetBinary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FreenetBinary
impl Debug for FreenetBinary
Auto Trait Implementations§
impl Freeze for FreenetBinary
impl RefUnwindSafe for FreenetBinary
impl Send for FreenetBinary
impl Sync for FreenetBinary
impl Unpin for FreenetBinary
impl UnwindSafe for FreenetBinary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more