pub struct ProgramTestConfig {
pub additional_programs: Option<Vec<(&'static str, Pubkey)>>,
pub with_prover: bool,
pub log_failed_tx: bool,
pub no_logs: bool,
pub skip_startup_logs: bool,
pub with_forester: bool,
pub log_light_protocol_events: bool,
pub enhanced_logging: EnhancedLoggingConfig,
}Expand description
Configuration for Light Program Test
Fields§
§additional_programs: Option<Vec<(&'static str, Pubkey)>>§with_prover: bool§log_failed_tx: boolLog failed transactions
no_logs: boolDisable all logging
skip_startup_logs: boolSkip startup logs
with_forester: boolRegister a forester for epoch 0 during setup
log_light_protocol_events: boolLog Light Protocol events (BatchPublicTransactionEvent, etc.)
enhanced_logging: EnhancedLoggingConfigEnhanced transaction logging configuration
Implementations§
Trait Implementations§
Source§impl Clone for ProgramTestConfig
impl Clone for ProgramTestConfig
Source§fn clone(&self) -> ProgramTestConfig
fn clone(&self) -> ProgramTestConfig
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 ProgramTestConfig
impl Debug for ProgramTestConfig
Auto Trait Implementations§
impl Freeze for ProgramTestConfig
impl RefUnwindSafe for ProgramTestConfig
impl Send for ProgramTestConfig
impl Sync for ProgramTestConfig
impl Unpin for ProgramTestConfig
impl UnwindSafe for ProgramTestConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more