pub struct TridentFuzzingData { /* private fields */ }Implementations§
Source§impl TridentFuzzingData
impl TridentFuzzingData
pub fn add_to_histogram(&mut self, metric_name: &str, value: f64)
pub fn add_to_accumulator(&mut self, metric_name: &str, value: f64)
pub fn add_executed_transaction(&mut self, transaction_name: &str)
pub fn add_successful_transaction(&mut self, transaction_name: &str)
pub fn add_failed_transaction( &mut self, transaction_name: &str, error: String, logs: Option<Vec<String>>, )
pub fn add_transaction_panicked( &mut self, transaction_name: &str, seed: [u8; 32], panic: String, logs: Option<Vec<String>>, instruction_inputs: String, )
pub fn add_custom_instruction_error( &mut self, transaction_name: &str, error_code: &u32, logs: Option<Vec<String>>, )
Source§impl TridentFuzzingData
impl TridentFuzzingData
pub fn add_to_regression( &mut self, iteration_seed: &str, account_name: &str, account_shared_data: &AccountSharedData, )
Source§impl TridentFuzzingData
impl TridentFuzzingData
pub fn with_master_seed(seed: [u8; 32]) -> TridentFuzzingData
pub fn add_master_seed(&mut self, seed: &str)
Source§impl TridentFuzzingData
impl TridentFuzzingData
pub fn _merge(&mut self, other: TridentFuzzingData)
pub fn get_exit_code(&self) -> i32
Trait Implementations§
Source§impl Clone for TridentFuzzingData
impl Clone for TridentFuzzingData
Source§fn clone(&self) -> TridentFuzzingData
fn clone(&self) -> TridentFuzzingData
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 Default for TridentFuzzingData
impl Default for TridentFuzzingData
Source§fn default() -> TridentFuzzingData
fn default() -> TridentFuzzingData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TridentFuzzingData
impl RefUnwindSafe for TridentFuzzingData
impl Send for TridentFuzzingData
impl Sync for TridentFuzzingData
impl Unpin for TridentFuzzingData
impl UnwindSafe for TridentFuzzingData
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