Skip to main content

BitcoinCore

Struct BitcoinCore 

Source
pub struct BitcoinCore;

Trait Implementations§

Source§

impl OperatorSet for BitcoinCore

Source§

fn regex_operators(&self) -> Result<Vec<MutationOperator>, Error>

Operators applied to general (non-test) source files.
Source§

fn security_operators(&self) -> Result<Vec<MutationOperator>, Error>

Operators applied when --only-security-mutations is set.
Source§

fn test_operators(&self) -> Result<Vec<MutationOperator>, Error>

Operators applied to test files (unit and, where applicable, functional).
Source§

fn do_not_mutate_patterns(&self) -> Vec<&'static str>

Line prefixes that disable mutation of a line entirely.
Source§

fn do_not_mutate_py_patterns(&self) -> Vec<&'static str>

Substrings that disable mutation of a Python test line.
Source§

fn do_not_mutate_unit_patterns(&self) -> Vec<&'static str>

Substrings that disable mutation of a (C/C++) unit-test line.
Source§

fn skip_if_contain_patterns(&self) -> Vec<&'static str>

Substrings that disable mutation of any line when contained.
Source§

fn test_line_skip_prefixes(&self) -> Vec<&'static str>

Prefixes that mark a test line as not worth mutating (asserts, helpers). Consumed by the default OperatorSet::should_mutate_test_line.
Source§

fn should_mutate_test_line(&self, line: &str) -> bool

Whether a test line should be mutated by OperatorSet::test_operators. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.