pub struct SecurityPredicateRow {Show 13 fields
pub id: String,
pub module: String,
pub function: String,
pub op_id: String,
pub operation: SecurityPredicateOperation,
pub inputs: Vec<String>,
pub output: String,
pub soundness: String,
pub witness_fixture: String,
pub external_mapping: String,
pub witness_lhs: Vec<u32>,
pub witness_rhs: Vec<u32>,
pub witness_expected: Vec<u32>,
}Expand description
One security bitset predicate row parsed from Tier-B TOML.
Fields§
§id: StringStable short row id.
module: StringRust module that owns the public primitive.
function: StringPublic function exported by the module.
op_id: StringStable VyrE op id registered in the harness inventory.
operation: SecurityPredicateOperationBitset operation used by this predicate.
inputs: Vec<String>Ordered input buffer names from the public primitive contract.
output: StringOutput buffer name from the public primitive contract.
soundness: StringDeclared soundness lattice value for the predicate.
witness_fixture: StringStable fixture id for the row’s CPU witness vectors.
external_mapping: Stringexternal/dataflow concept this predicate maps onto.
witness_lhs: Vec<u32>Left-hand witness input words.
witness_rhs: Vec<u32>Right-hand witness input words.
witness_expected: Vec<u32>Expected CPU reference output words.
Trait Implementations§
Source§impl Clone for SecurityPredicateRow
impl Clone for SecurityPredicateRow
Source§fn clone(&self) -> SecurityPredicateRow
fn clone(&self) -> SecurityPredicateRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecurityPredicateRow
impl Debug for SecurityPredicateRow
impl Eq for SecurityPredicateRow
Source§impl PartialEq for SecurityPredicateRow
impl PartialEq for SecurityPredicateRow
impl StructuralPartialEq for SecurityPredicateRow
Auto Trait Implementations§
impl Freeze for SecurityPredicateRow
impl RefUnwindSafe for SecurityPredicateRow
impl Send for SecurityPredicateRow
impl Sync for SecurityPredicateRow
impl Unpin for SecurityPredicateRow
impl UnsafeUnpin for SecurityPredicateRow
impl UnwindSafe for SecurityPredicateRow
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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