pub enum PredicateProofPolicy {
Always,
OnRequest,
Never,
}Expand description
Proof emission policy for a predicate.
Variants§
Always
Always emit proof for queries on this predicate.
OnRequest
Only emit proof when the query asks for it.
Never
Never emit proof (e.g., bulk lookups where proof is contractually elsewhere).
Trait Implementations§
Source§impl Clone for PredicateProofPolicy
impl Clone for PredicateProofPolicy
impl Copy for PredicateProofPolicy
Source§impl Debug for PredicateProofPolicy
impl Debug for PredicateProofPolicy
Source§impl<'de> Deserialize<'de> for PredicateProofPolicy
impl<'de> Deserialize<'de> for PredicateProofPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PredicateProofPolicy
Source§impl PartialEq for PredicateProofPolicy
impl PartialEq for PredicateProofPolicy
Source§impl Serialize for PredicateProofPolicy
impl Serialize for PredicateProofPolicy
impl StructuralPartialEq for PredicateProofPolicy
Auto Trait Implementations§
impl Freeze for PredicateProofPolicy
impl RefUnwindSafe for PredicateProofPolicy
impl Send for PredicateProofPolicy
impl Sync for PredicateProofPolicy
impl Unpin for PredicateProofPolicy
impl UnsafeUnpin for PredicateProofPolicy
impl UnwindSafe for PredicateProofPolicy
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