pub trait ProtocolTypes:
'static
+ Clone
+ PartialEq
+ Eq
+ Hash
+ Display
+ Debug
+ Serialize
+ DeserializeOwned {
type Matcher: Matcher;
type PUTConfig: ProtocolDescriptorConfig;
// Required methods
fn signature() -> &'static Signature<Self>;
fn differential_fuzzing_whitelist() -> Option<Vec<TypeId>>;
fn differential_fuzzing_claims_blacklist() -> Option<Vec<TypeId>>;
fn differential_fuzzing_terms_to_eval(
agents: &Vec<AgentDescriptor<Self::PUTConfig>>,
) -> Vec<Term<Self>>;
fn differential_fuzzing_uniformise_put_config(
trace: Trace<Self>,
) -> Trace<Self>;
fn differential_fuzzing_filter_diff(diff: &TraceDifference) -> bool;
}Expand description
Defines the types used to manipulate and concretize Terms
Required Associated Types§
Required Methods§
Sourcefn differential_fuzzing_whitelist() -> Option<Vec<TypeId>>
fn differential_fuzzing_whitelist() -> Option<Vec<TypeId>>
Allowed Knowlege’s TypeIds when comparing knowledges stores
Sourcefn differential_fuzzing_claims_blacklist() -> Option<Vec<TypeId>>
fn differential_fuzzing_claims_blacklist() -> Option<Vec<TypeId>>
Claims’ TypeIds to blacklist when comparing knowledges stores
Sourcefn differential_fuzzing_terms_to_eval(
agents: &Vec<AgentDescriptor<Self::PUTConfig>>,
) -> Vec<Term<Self>>
fn differential_fuzzing_terms_to_eval( agents: &Vec<AgentDescriptor<Self::PUTConfig>>, ) -> Vec<Term<Self>>
Terms to evaluate and compare during differential fuzzing eg. decryption recipes
Sourcefn differential_fuzzing_uniformise_put_config(trace: Trace<Self>) -> Trace<Self>
fn differential_fuzzing_uniformise_put_config(trace: Trace<Self>) -> Trace<Self>
Replace trace’s agent protocol config with a set of parameters that should be supported by all PUTs
Sourcefn differential_fuzzing_filter_diff(diff: &TraceDifference) -> bool
fn differential_fuzzing_filter_diff(diff: &TraceDifference) -> bool
Check whether a difference should be kept
Use this to remove specific false positive without altering the capabilities of the
differential fuzzer
Return true to keep the difference
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.