pub struct ProgramTestBackend {
pub program_so: PathBuf,
pub program_id: String,
}Expand description
Backend that runs scenarios in-process via solana-program-test.
Fields§
§program_so: PathBufPath to the compiled .so program under test.
program_id: StringThe program ID to deploy under.
Implementations§
Trait Implementations§
Source§impl Clone for ProgramTestBackend
impl Clone for ProgramTestBackend
Source§fn clone(&self) -> ProgramTestBackend
fn clone(&self) -> ProgramTestBackend
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProgramTestBackend
impl Debug for ProgramTestBackend
Auto Trait Implementations§
impl Freeze for ProgramTestBackend
impl RefUnwindSafe for ProgramTestBackend
impl Send for ProgramTestBackend
impl Sync for ProgramTestBackend
impl Unpin for ProgramTestBackend
impl UnsafeUnpin for ProgramTestBackend
impl UnwindSafe for ProgramTestBackend
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