pub trait SafetyProperty {
type Args: SafetyPropertyArg;
// Required methods
fn name() -> &'static str;
fn description(args: Self::Args) -> String;
// Provided method
fn kani(args: Self::Args) -> Option<String> { ... }
}
Required Associated Types§
Sourcetype Args: SafetyPropertyArg
type Args: SafetyPropertyArg
A tuple of SP arguments.
Required Methods§
Sourcefn description(args: Self::Args) -> String
fn description(args: Self::Args) -> String
Static string, or dynamic interpolated string based on tag arguments.
Provided Methods§
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.